Authored by 陈峰

config

@@ -93,7 +93,16 @@ if (isProduction) { @@ -93,7 +93,16 @@ if (isProduction) {
93 timeout: 1000, 93 timeout: 1000,
94 retries: 0 94 retries: 0
95 }, 95 },
96 - useCache: true 96 + useCache: true,
  97 + mysql: {
  98 + connect: {
  99 + host: '10.67.2.144',
  100 + port: '3307',
  101 + user: 'yh_vpc_bak',
  102 + password: 'yoho@2Y$^YpNb7hp'
  103 + },
  104 + database: 'yoho_activity_platform',
  105 + }
97 }); 106 });
98 } else if (isTest) { 107 } else if (isTest) {
99 Object.assign(module.exports, { 108 Object.assign(module.exports, {
@@ -116,6 +125,15 @@ if (isProduction) { @@ -116,6 +125,15 @@ if (isProduction) {
116 reconnect: 5000, 125 reconnect: 5000,
117 retries: 0 126 retries: 0
118 }, 127 },
119 - useCache: true 128 + useCache: true,
  129 + mysql: {
  130 + connect: {
  131 + host: 'localhost',
  132 + port: '3306',
  133 + user: 'root',
  134 + password: ''
  135 + },
  136 + database: 'yoho_activity_platform',
  137 + }
120 }); 138 });
121 } 139 }