lrf 2 years ago
parent
commit
3733af4b16
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/config/config.prod.ts

+ 2 - 1
src/config/config.prod.ts

@@ -1,4 +1,5 @@
 import { MidwayConfig } from '@midwayjs/core';
+// 线上开发环境
 const ip = '127.0.0.1';
 const suffix = '_dev';
 export default {
@@ -30,7 +31,7 @@ export default {
       port: 6379, // Redis port
       host: ip, // Redis host
       password: '123456',
-      db: 1,
+      db: 2,
     },
   },
   redisKey: {