Merge branch 'master' of https://gitee.com/red-deng-deng/marketing-system
This commit is contained in:
commit
2f84eaa869
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue