lrf hace 2 años
padre
commit
3012a15868
Se han modificado 2 ficheros con 12 adiciones y 12 borrados
  1. 8 8
      config/config.prod.js
  2. 4 4
      config/plugin.js

+ 8 - 8
config/config.prod.js

@@ -19,14 +19,14 @@ module.exports = () => {
     },
   };
   // // redis config
-  config.redis = {
-    client: {
-      port: 6379, // Redis port
-      host: '127.0.0.1', // Redis host
-      password: 123456,
-      db: 0,
-    },
-  };
+  // config.redis = {
+  //   client: {
+  //     port: 6379, // Redis port
+  //     host: '127.0.0.1', // Redis host
+  //     password: 123456,
+  //     db: 0,
+  //   },
+  // };
 
   config.export = {
     root_path: '/usr/local/workspace/server/service-file/upload',

+ 4 - 4
config/plugin.js

@@ -5,10 +5,10 @@
 //   package: 'egg-naf-amqp',
 // };
 // redis
-exports.redis = {
-  enable: true,
-  package: 'egg-redis',
-};
+// exports.redis = {
+//   enable: true,
+//   package: 'egg-redis',
+// };
 // // 分站模式
 // exports.multiTenancy = {
 //   enable: true,