index.js
1.98 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
45
46
47
48
49
50
51
52
53
54
const config = {
development: {
axiosBaseUrl: process.env.VUE_ENV === 'server' ? 'http://localhost:6004/' : '//m.yohoblk.com/',
axiosResponseType: 'json',
contentCode: {
channel: {
men: '9ee58aadd9559d07207fe4a98843eaac',
women: '3ad8826fc89fb0d023a4cd06a6991219',
lifestyle: 'aa8d34c85934c2ccc16e2babd3eb5e47'
},
brand: { // 品牌一览资源位
men: '785901da092704815085a6009265879c',
women: '22cfcd9246ece6a0a5a18c6463ef3259',
lifestyle: 'f2e7142be1d5d622357c44a572390531'
},
cate: { // 分类资源位
men: '7e32495635ded5b906c952e2cb9e897d',
women: '086e409fdab8448f7a0a794491f4d1b7',
lifestyle: '6f7b590ed3844e680d4052fc5c4d98ad'
},
editorial: {
all: '87e3b7ff41132fde5e061fb1c3899f84'
}
}
},
production: {
axiosBaseUrl: process.env.VUE_ENV === 'server' ? 'http://localhost:6004/' : '//m.yohoblk.com/',
axiosResponseType: 'json',
contentCode: {
channel: {
men: '9ee58aadd9559d07207fe4a98843eaac',
women: '3ad8826fc89fb0d023a4cd06a6991219',
lifestyle: 'aa8d34c85934c2ccc16e2babd3eb5e47'
},
brand: { // 品牌一览资源位
men: '785901da092704815085a6009265879c',
women: '22cfcd9246ece6a0a5a18c6463ef3259',
lifestyle: 'f2e7142be1d5d622357c44a572390531'
},
cate: { // 分类资源位
men: '7e32495635ded5b906c952e2cb9e897d',
women: '086e409fdab8448f7a0a794491f4d1b7',
lifestyle: '6f7b590ed3844e680d4052fc5c4d98ad'
},
editorial: {
all: '87e3b7ff41132fde5e061fb1c3899f84'
}
}
}
};
export default config[process.env.NODE_ENV];