MaiXinRong 5 years ago
parent
commit
e5d39f68db
2 changed files with 3 additions and 9 deletions
  1. 0 6
      app/service/quota_lib.js
  2. 3 3
      config/config.default.js

+ 0 - 6
app/service/quota_lib.js

@@ -205,12 +205,6 @@ module.exports = app => {
         }
 
         async refreshLib(lib) {
-            //const billsData = await this.ctx.service.bills.getAllDataByCondition({ where: {lib_id: lib.id} });
-
-            //const orgGlobalParam = await this.ctx.service.tenderParam.getParam(lib.id, paramConst.globalParamNodeId);
-            //const orgParam = await this.ctx.service.tenderParam.getParam(lib.id);
-            //const orgParam = await this.ctx.service.tenderParam.getAllDataByCondition({ where: {lib_id: lib.id} });
-
             await this.ctx.service.match.reMatchBills(lib);
 
             const conn = await this.db.beginTransaction();

+ 3 - 3
config/config.default.js

@@ -15,9 +15,9 @@ module.exports = appInfo => {
             // 端口号
             port: '3306',
             // 用户名
-            user: 'root',
+            user: 'zongheng',
             // 密码
-            password: 'VHbSBiBerJhgkJt3',
+            password: '@)!(smartcost#*%)',
             // 数据库名
             database: 'index_sys',
         },
@@ -75,7 +75,7 @@ module.exports = appInfo => {
             // 端口号
             port: '6379',
             // 用户名
-            auth_pass: '123456',
+            auth_pass: 'smart#*%)cost888',
             // 密码
             db: '8',
         }