This commit is contained in:
red-deng-deng 2021-11-17 15:18:47 +08:00
commit 2f84eaa869
1 changed files with 6 additions and 1 deletions

View File

@ -34,7 +34,7 @@ export const handelResponse=(res, cb, errCb)=> {
cb(res.data,res.msg)
} else {
if (typeof errCb == 'function') {
errCb()
errCb(res.msg)
}
}
}
@ -42,6 +42,11 @@ export const handelResponse=(res, cb, errCb)=> {
export const getPlanList = (params) => {
return req('get', baseurl + "/plan", params)
}
//获取key批次列表
export const getKeyList = (params) => {
return req('get', baseurl + "/keys", params)
}
//获取分销商下拉菜单
export const getReSellerOption = (params) => {
return req('get', baseurl + "/reseller/choice", params)