|
@@ -25,11 +25,11 @@ module.exports = appInfo => {
|
|
|
// 进程设置
|
|
|
config.cluster = {
|
|
|
listen: {
|
|
|
- port: 12112,
|
|
|
+ port: 12212,
|
|
|
},
|
|
|
};
|
|
|
// 数据库设置
|
|
|
- config.dbName = 'point_shopping';
|
|
|
+ config.dbName = 'point_shopping-dev';
|
|
|
config.mongoose = {
|
|
|
url: `mongodb://120.48.146.1:27017/${config.dbName}`, // 120.48.146.1 127.0.0.1
|
|
|
options: {
|
|
@@ -48,7 +48,7 @@ module.exports = appInfo => {
|
|
|
port: 6379, // Redis port
|
|
|
host: '127.0.0.1', // Redis host
|
|
|
password: '123456',
|
|
|
- db: 1,
|
|
|
+ db: 2,
|
|
|
},
|
|
|
};
|
|
|
// mq设置
|
|
@@ -69,7 +69,7 @@ module.exports = appInfo => {
|
|
|
issuer: 'shopping',
|
|
|
};
|
|
|
// 路由设置
|
|
|
- config.routePrefix = '/point/zr/v1/api';
|
|
|
+ config.routePrefix = '/dev/point/zr/v1/api';
|
|
|
config.emailConfig = {
|
|
|
config: 'free',
|
|
|
};
|