IntelligentRecognition/ah-jjsp-web/.svn/pristine/85/85af83f7ac2a181291de7455c1b...

26 lines
669 B
Plaintext
Raw Permalink Normal View History

2024-05-24 16:09:40 +08:00
let obj = {};
// 后端请求地址
let ajax_url = 'http://sgwpdm.ah.sgcc.com.cn/basfs/';
// 默认测试环境
const NODE_ENV = 'test';
if(NODE_ENV === 'test'){
obj= { // 测试环境配置
'getWxCodeUrl': 'https://igw.isgcc.net:18081/connect/oauth2/authorize',
'getIscTokenUrl':'https://igw.isgcc.net:18443/proxy/getUserCodeByWechatCode',
'cropId':'ww445f8033443a14aa',
'agentid':'1009650'
}
}else{// 生产环境配置
obj = {
'getWxCodeUrl': 'https://igw.sgcc.com.cn/connect/oauth2/authorize',
'getIscTokenUrl':'https://id.sgcc.com.cn:10443/igwmobile/proxy/getUserCodeByWechatCode',
'cropId':'ww4d11a39991ebffdc',
'agentid':'1009650'
}
}