监控:配置按照环境变量区分

This commit is contained in:
luying
2022-01-06 13:50:01 +08:00
parent 322939be77
commit cbe440eefe
8 changed files with 93 additions and 29 deletions

View File

@@ -17,10 +17,10 @@ export default (appInfo: EggAppInfo) => {
pw: 'PANl3Vr2eozkq4N2'
};
exports.xtransit = {
server: 'ws://127.0.0.1:9092',
appId: 3,
appSecret: 'a48ad5ca44e2d02cbd7f4c0326fa3101'
config.xtransit = {
server: 'ws://172.16.4.107:9092',
appId: 2,
appSecret: '19f8d6272fbba17294513610ba67f21b'
};
// the return config will combines to EggAppConfig