|
@@ -58,16 +58,28 @@ module.exports = appInfo => {
|
|
|
// 邮箱配置
|
|
|
config.user_email = '1345526645@qq.com';
|
|
|
config.auth_code = 'vnrzrxwserhyfeda';
|
|
|
- // config.amqp = {
|
|
|
- // client: {
|
|
|
- // hostname: '127.0.0.1',
|
|
|
- // username: 'visit',
|
|
|
- // password: 'visit123',
|
|
|
- // vhost: 'visit',
|
|
|
- // },
|
|
|
- // app: true,
|
|
|
- // agent: true,
|
|
|
- // };
|
|
|
+
|
|
|
+ // mq配置
|
|
|
+ config.amqp = {
|
|
|
+ client: {
|
|
|
+ hostname: '127.0.0.1',
|
|
|
+ username: 'visit',
|
|
|
+ password: 'visit',
|
|
|
+ vhost: 'train',
|
|
|
+ },
|
|
|
+ app: true,
|
|
|
+ agent: true,
|
|
|
+ };
|
|
|
+
|
|
|
+ // redis config
|
|
|
+ config.redis = {
|
|
|
+ client: {
|
|
|
+ port: 6379, // Redis port
|
|
|
+ host: '127.0.0.1', // Redis host
|
|
|
+ password: null,
|
|
|
+ db: 0,
|
|
|
+ },
|
|
|
+ };
|
|
|
|
|
|
// mongoose config
|
|
|
config.mongoose = {
|