|
|
|
@ -8,7 +8,7 @@ export function getVersion(params) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.getVersion, |
|
|
|
|
method: 'get', |
|
|
|
|
params, |
|
|
|
|
params |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -20,7 +20,7 @@ export function delTemplatelist(params) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.delTemplatelist, |
|
|
|
|
method: 'get', |
|
|
|
|
params, |
|
|
|
|
params |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
@ -31,7 +31,7 @@ export function commit(params) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.commit, |
|
|
|
|
method: 'get', |
|
|
|
|
params, |
|
|
|
|
params |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
@ -42,7 +42,7 @@ export function addTotemplate(params) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.addTotemplate, |
|
|
|
|
method: 'get', |
|
|
|
|
params, |
|
|
|
|
params |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
@ -53,7 +53,7 @@ export function auditBeforeCheck(params) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.auditBeforeCheck, |
|
|
|
|
method: 'get', |
|
|
|
|
params, |
|
|
|
|
params |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
@ -64,7 +64,7 @@ export function audit(params) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.audit, |
|
|
|
|
method: 'get', |
|
|
|
|
params, |
|
|
|
|
params |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
@ -75,7 +75,7 @@ export function qrcode(params) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.qrcode, |
|
|
|
|
method: 'get', |
|
|
|
|
params, |
|
|
|
|
params |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
@ -86,7 +86,7 @@ export function list(params) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.list, |
|
|
|
|
method: 'get', |
|
|
|
|
params, |
|
|
|
|
params |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
@ -97,7 +97,7 @@ export function authList(params) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.authList, |
|
|
|
|
method: 'get', |
|
|
|
|
params, |
|
|
|
|
params |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -109,7 +109,7 @@ export function templatedraftlist(params) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.templatedraftlist, |
|
|
|
|
method: 'get', |
|
|
|
|
params, |
|
|
|
|
params |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
@ -120,7 +120,7 @@ export function templatelist(params) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.templatelist, |
|
|
|
|
method: 'get', |
|
|
|
|
params, |
|
|
|
|
params |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
@ -131,7 +131,7 @@ export function superLogin({ storeId }) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.superLogin, |
|
|
|
|
method: 'get', |
|
|
|
|
params: { storeId }, |
|
|
|
|
params: { storeId } |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -143,7 +143,7 @@ export function recycle(params) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.recycle, |
|
|
|
|
method: 'get', |
|
|
|
|
params, |
|
|
|
|
params |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -155,7 +155,7 @@ export function add(data) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.add, |
|
|
|
|
method: 'post', |
|
|
|
|
data: data, |
|
|
|
|
data: data |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -167,7 +167,7 @@ export function recovery(data) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.recovery, |
|
|
|
|
method: 'post', |
|
|
|
|
data: data, |
|
|
|
|
data: data |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -179,7 +179,7 @@ export function del(data) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.delete, |
|
|
|
|
method: 'post', |
|
|
|
|
data: data, |
|
|
|
|
data: data |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -191,7 +191,7 @@ export function move(data) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.move, |
|
|
|
|
method: 'post', |
|
|
|
|
data: data, |
|
|
|
|
data: data |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -203,7 +203,7 @@ export function getDataList(data) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.module.dataList, |
|
|
|
|
method: 'post', |
|
|
|
|
data: data, |
|
|
|
|
data: data |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
/** |
|
|
|
@ -214,20 +214,20 @@ export function getStorePlatform(params) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.module.getStorePlatform, |
|
|
|
|
method: 'get', |
|
|
|
|
params, |
|
|
|
|
params |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
export function setStorePlatform (data) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.module.setStorePlatform, |
|
|
|
|
method: 'post', |
|
|
|
|
data: data, |
|
|
|
|
data: data |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
export function getGoodsList (params) { |
|
|
|
|
return axios({ |
|
|
|
|
url: api.store.module.getGoodsList, |
|
|
|
|
method: 'get', |
|
|
|
|
params, |
|
|
|
|
params |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|