feat: move project
This commit is contained in:
commit
4a940f28ba
97 changed files with 5047 additions and 0 deletions
29
utils/constant.js
Normal file
29
utils/constant.js
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
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 _;
|
||||
Loading…
Add table
Add a link
Reference in a new issue