config.js
905 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
module.exports = {
dev: {
baseUrl: 'http://eshop.yoho.cn',
// baseUrl: 'http://123.206.1.104:28078',
// baseUrl: 'http://192.168.102.205:8080/gateway',
HTTPTimeout: 30000, //毫秒
},
prd: {
baseUrl: 'http://eshop.yoho.cn',
HTTPTimeout: 30000, //毫秒
},
storeKey: {
USER_INFO_KEY: 'USER_INFO_KEY',
GUIDE_STATE_KEY: 'GUIDE_STATE_KEY',
},
sceneKey: {
user: 'User',
root: 'root',
},
statsKey: {
saleStats: 'saleStats',
refoundStats: 'refoundStats',
stockStats: 'stockStats',
deliveryStats: 'deliveryStats',
requestStats: 'requestStats',
transferShipment: 'transferShipment',
outOfStock: 'outOfStock',
deliverGoods: 'deliverGoods',
},
dateFilterKey: {
date: 1,//天
week: 2,
month: 3,
}
}