MaiXinRong 5 years ago
parent
commit
6c646965c0
2 changed files with 4 additions and 3 deletions
  1. 3 3
      config/config.default.js
  2. 1 0
      package.json

+ 3 - 3
config/config.default.js

@@ -12,11 +12,11 @@ module.exports = appInfo => {
             // 端口号
             port: '3306',
             // 用户名
-            user: 'root',
+            user: 'smartcost',
             // 密码
             password: 'smartcost',
             // 数据库名
-            database: 'calculation',
+            database: 'zongheng_@)!(_jlzf',
         },
         // 是否加载到 app 上,默认开启
         app: true,
@@ -31,7 +31,7 @@ module.exports = appInfo => {
         client: {
             host: '127.0.0.1',
             port: '6379',
-            password: 'test',
+            password: 'zongheng_@)!(_jlzf',
             db: '0',
         },
         agent: true,

+ 1 - 0
package.json

@@ -68,6 +68,7 @@
     "test-local": "set EGG_SERVER_ENV=local&& egg-bin test",
     "test-qa": "set EGG_SERVER_ENV=qa&&egg-bin test",
     "test-auto": "set EGG_SERVER_ENV=autotest&&egg-bin test",
+    "dev-docker": "egg-scripts start --port 7005",
     "cov": "egg-bin cov",
     "lint": "eslint .",
     "ci": "npm run lint && npm run cov",