minaEnv.ts
735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/**
*环境切换值
* 0: 本地开发环境
* 1: 测试环境
* 2: 正式环境
* 3: 现代物流uat环境
* 4: 现代物流正式环境
*/
const envLevel = 0;
/**
* 后台接口
*/
const serverUrlProduce = [
"http://10.9.1.180", // http://10.9.1.180/open/qx-apaas-custom/hczd/index
"https://test.qgutech.com",
"https://test.xdwl.qgutech.com",
"https://wanyouuat.m56.com.cn:4443",
"https://wanyou.m56.com.cn",
][envLevel];
const corpCode = [
'default', // cheng
'xdwl',
'xdwl', // xdwl
'xdwl',
'xdwl'
][envLevel];
const env = {
server: `${serverUrlProduce}`,// 后台api接口地址
qx_api: 'qx-api',
corpCode: corpCode,
sutingche_app_id: 'wx54e676273869baa6'
};
export default env;