fix: 数据统计,销售统计,桌台统计更新,404页面跳转更新,三方配置更新
This commit is contained in:
@@ -6,19 +6,17 @@ const API = {
|
||||
return request({
|
||||
url: `${baseURL}`,
|
||||
method: "get",
|
||||
headers: {
|
||||
params: {
|
||||
shopId: shopId
|
||||
}
|
||||
});
|
||||
},
|
||||
edit(shopId: string | number, data: shopMerchantType) {
|
||||
delete data.id
|
||||
return request({
|
||||
url: `${baseURL}`,
|
||||
method: "put",
|
||||
data: data,
|
||||
headers: {
|
||||
shopId: shopId
|
||||
}
|
||||
data: { ...data, shopId },
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,9 @@ const Api = {
|
||||
return request<any>({
|
||||
url: `${baseURL}/export`,
|
||||
method: "get",
|
||||
params
|
||||
params,
|
||||
responseType: 'blob'
|
||||
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
@@ -16,7 +16,8 @@ const Api = {
|
||||
return request<any>({
|
||||
url: `${baseURL}/export`,
|
||||
method: "get",
|
||||
params
|
||||
params,
|
||||
responseType: 'blob'
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user