config.js
1.23 KB
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
38
39
40
41
42
43
44
export default {
development: {
domains: {
// production
api: 'http://java-yohoufo-fore.test3.ingress.dev.yohocorp.com/ufo-gateway',
yohoApi: 'http://api-test3.dev.yohocorp.com'
},
apiParams: {
client_type: 'miniapp',
private_key: 'b43890b0a296ff3c7b8c260ca763980b',
app_version: '6.7.7',
// miniapp_version: '0.0.1',
source_type: 'wechat',
user_source: 'wechat',
business_line: 'miniapp',
},
unionType: '', // 渠道号
// MINI_APP_DOMAIN: 'miniapp.yohobuy.com',
appid: 'wx193403dfd8cf74a1',
business_line: 'miniapp', // 业务线
mini_app_type: '0',
},
production: {
domains: {
// production
api: 'http://2.yohobuy.com',
yohoApi: 'https://api.yoho.cn'
},
apiParams: {
client_type: 'miniapp',
private_key: 'b43890b0a296ff3c7b8c260ca763980b',
app_version: '6.7.7',
// miniapp_version: '1.0.0',
source_type: 'wechat',
user_source: 'wechat',
business_line: 'miniapp',
},
unionType: '', // 渠道号
// MINI_APP_DOMAIN: 'miniapp.yohobuy.com',
appid: 'wx193403dfd8cf74a1',
business_line: 'yohobuy', // 业务线
mini_app_type: '62',
}
}[process.env.NODE_ENV];