Commit de5f0edc authored by Hsinli's avatar Hsinli

add

parent 65ac0615
Pipeline #19299 passed with stage
in 7 seconds
......@@ -134,8 +134,8 @@ class CheckService extends Service {
ctx.failed('服务异常,请稍后再试');
}
if (ret.is_target_user === 1) {
let businessIds = this.CFG_ENV === 'dev' ? 1 : (this.CFG_ENV === 'uat' ? 174 : 3);
let businessInfo = await this.getBusinessInfo();
let businessId = this.CFG_ENV === 'dev' ? 1 : (this.CFG_ENV === 'uat' ? 174 : 3);
let businessInfo = await this.getBusinessInfo(businessId);
ret.url = businessInfo.url;
}
return ret;
......
......@@ -164,6 +164,10 @@ module.exports = appInfo => {
config.DXM_SECRET = process.env.DXM_SECRET;
config.DXM_URL = process.env.DXM_URL;
config.CFG_ENV = process.env.CFG_ENV;
config.CASSANDRA_API = process.env.CASSANDRA_API;
return config;
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment