Pārlūkot izejas kodu

1. 更新配置

MaiXinRong 7 gadi atpakaļ
vecāks
revīzija
972250afdb
1 mainītis faili ar 8 papildinājumiem un 2 dzēšanām
  1. 8 2
      config/config.default.js

+ 8 - 2
config/config.default.js

@@ -8,7 +8,7 @@ module.exports = appInfo => {
     config.mysql = {
         client: {
             // host
-            host: '127.0.0.1',
+            host: '192.168.1.139',
             // 端口号
             port: '3306',
             // 用户名
@@ -29,7 +29,7 @@ module.exports = appInfo => {
     // redis设置
     config.redis = {
         client: {
-            host: '127.0.0.1',
+            host: '192.168.1.139',
             port: '6379',
             password: 'test',
             db: '0',
@@ -87,6 +87,12 @@ module.exports = appInfo => {
         authKey: 'fb5ef483e44b9556512a9febef376051',
     };
 
+    // geetest验证码key
+    config.geetest = {
+        id: '23c50f6711966f744c93a70167c8e0a4',
+        key: '9b67989994f9def437ea68bb495f0162',
+    };
+
     // 前端验证
     config.jsValidator = {
         client: {},