|
@@ -1,7 +1,9 @@
|
|
/* eslint valid-jsdoc: "off" */
|
|
/* eslint valid-jsdoc: "off" */
|
|
|
|
|
|
'use strict';
|
|
'use strict';
|
|
|
|
+
|
|
const { jwt } = require('./config.secret');
|
|
const { jwt } = require('./config.secret');
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* @param {Egg.EggAppInfo} appInfo app info
|
|
* @param {Egg.EggAppInfo} appInfo app info
|
|
*/
|
|
*/
|
|
@@ -33,7 +35,7 @@ module.exports = appInfo => {
|
|
// add your config here
|
|
// add your config here
|
|
config.cluster = {
|
|
config.cluster = {
|
|
listen: {
|
|
listen: {
|
|
- port: 8001,
|
|
|
|
|
|
+ port: 7001,
|
|
},
|
|
},
|
|
};
|
|
};
|
|
|
|
|
|
@@ -51,7 +53,7 @@ module.exports = appInfo => {
|
|
config.sendDirMq = 'http://wx.cc-lotus.info/api.weixin.qq.com/cgi-bin/message/template/send?appid=';
|
|
config.sendDirMq = 'http://wx.cc-lotus.info/api.weixin.qq.com/cgi-bin/message/template/send?appid=';
|
|
// appID
|
|
// appID
|
|
config.appid = 'wxdf3ed83c095be97a';
|
|
config.appid = 'wxdf3ed83c095be97a';
|
|
- config.REVIEW_TEMPLATE_ID = 'BI4h0AQpdctm74I7-7PyHAspSMX2oJOTJVQsgrppOag';
|
|
|
|
|
|
+ config.REVIEW_TEMPLATE_ID = 'oqmozBcdkCzBOvNrdzMQ1lDJcobD5uBEpNoLWec0bPY';
|
|
|
|
|
|
// config.amqp = {
|
|
// config.amqp = {
|
|
// client: {
|
|
// client: {
|
|
@@ -66,7 +68,7 @@ module.exports = appInfo => {
|
|
|
|
|
|
// mongoose config
|
|
// mongoose config
|
|
config.mongoose = {
|
|
config.mongoose = {
|
|
- url: 'mongodb://127.0.0.1:27017/visit',
|
|
|
|
|
|
+ url: 'mongodb://127.0.0.1:27017/train',
|
|
options: {
|
|
options: {
|
|
user: 'admin',
|
|
user: 'admin',
|
|
pass: 'admin',
|
|
pass: 'admin',
|