fix: 分店同步更新
This commit is contained in:
@@ -10,23 +10,26 @@ const ShopBranchApi = {
|
||||
params
|
||||
});
|
||||
},
|
||||
getDataSync(params: any) {
|
||||
return request<any>({
|
||||
url: `${baseURL}/get/dataSyncMethod`,
|
||||
method: "get",
|
||||
params
|
||||
});
|
||||
},
|
||||
setDataSync(id: any) {
|
||||
console.log(id)
|
||||
return request<any>({
|
||||
url: `${baseURL}/setting/dataSyncMethod?dataSyncMethod=${id}`,
|
||||
method: "post",
|
||||
});
|
||||
},
|
||||
dataSync(id: any) {
|
||||
console.log(id)
|
||||
return request<any>({
|
||||
url: `${baseURL}/data/sync/enable?branchShopId=${id}`,
|
||||
method: "post",
|
||||
});
|
||||
},
|
||||
enable(id: any) {
|
||||
console.log(id)
|
||||
|
||||
return request<any>({
|
||||
url: `${baseURL}/account/enable?branchShopId=${id}`,
|
||||
method: "post",
|
||||
|
||||
Reference in New Issue
Block a user