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