29 lines
666 B
JavaScript
29 lines
666 B
JavaScript
|
|
const _ = {
|
||
|
|
// cdnHost: 'http://civcar2.zhonganonline.top/newslist',
|
||
|
|
// apiHost: 'http://civcar2.zhonganonline.top/newslist',
|
||
|
|
cdnHost: 'http://cdn.liiistem.cn/liiistem',
|
||
|
|
apiHost: 'https://prxy.liiistem.cn/liiistem',
|
||
|
|
};
|
||
|
|
if (wx.getStorageSync('mode') == 'dev') {
|
||
|
|
_.cdnHost = 'http://civcar2.zhonganonline.top/liiistem';
|
||
|
|
_.apiHost = 'http://civcar2.zhonganonline.top/liiistem';
|
||
|
|
}
|
||
|
|
|
||
|
|
export const STATUS_LIST = [{
|
||
|
|
key: 'init',
|
||
|
|
label: '待审核'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
key: 'resolve',
|
||
|
|
label: '审核通过'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
key: 'reject',
|
||
|
|
label: '审核未通过'
|
||
|
|
},
|
||
|
|
]
|
||
|
|
export const STATUS_MAP = STATUS_LIST.reduce((r, c) => {
|
||
|
|
r[c.key] = c;
|
||
|
|
return r;
|
||
|
|
}, {})
|
||
|
|
export default _;
|