|
|
|
@ -15,6 +15,24 @@ import axios from "axios";
|
|
|
|
|
export function uploadUser(params, call) {
|
|
|
|
|
return http.post('/store/emp/import', params).then(call);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 下载门店码
|
|
|
|
|
* @param params
|
|
|
|
|
* @param call
|
|
|
|
|
* @returns {Promise<any | never>}
|
|
|
|
|
*/
|
|
|
|
|
export function downloadStoreCode(params, call) {
|
|
|
|
|
return http.get('/store/emp/download/store/code', params).then(call);
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* 下载门店导购码
|
|
|
|
|
* @param params
|
|
|
|
|
* @param call
|
|
|
|
|
* @returns {Promise<any | never>}
|
|
|
|
|
*/
|
|
|
|
|
export function downloadStoreSellerCode(params, call) {
|
|
|
|
|
return http.get('/store/emp/download/store/seller/code', params).then(call);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export function getBaseUrl() {
|
|
|
|
@ -23,5 +41,7 @@ export function getBaseUrl() {
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
uploadUser,
|
|
|
|
|
downloadStoreCode,
|
|
|
|
|
downloadStoreSellerCode,
|
|
|
|
|
getBaseUrl
|
|
|
|
|
}
|
|
|
|
|