|
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
import { axios } from '@/utils/request' |
|
|
|
|
|
|
|
|
|
const api = { |
|
|
|
|
detail: '/wholesaler.set/info', |
|
|
|
|
setDetail: '/wholesaler.set/info', |
|
|
|
|
setData: '/wholesaler.set/setData', |
|
|
|
|
applyStatus: '/wholesaler.apply/applyStatus', |
|
|
|
|
list: '/wholesaler.apply/list', |
|
|
|
@ -18,6 +18,16 @@ export function audit(data) { |
|
|
|
|
data, |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
|
* @param {*} data |
|
|
|
|
*/ |
|
|
|
|
export function setDetail(data) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.setDetail, |
|
|
|
|
method: 'post', |
|
|
|
|
data, |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
|
* @param {*} data |
|
|
|
|
*/ |
|
|
|
|