fix: 数据统计,销售统计,桌台统计更新,404页面跳转更新,三方配置更新

This commit is contained in:
2025-03-12 15:05:43 +08:00
parent c7084f4c34
commit 39bc49029a
15 changed files with 178 additions and 120 deletions

View File

@@ -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 },
});
}
}

View File

@@ -24,7 +24,9 @@ const Api = {
return request<any>({
url: `${baseURL}/export`,
method: "get",
params
params,
responseType: 'blob'
});
},
};

View File

@@ -16,7 +16,8 @@ const Api = {
return request<any>({
url: `${baseURL}/export`,
method: "get",
params
params,
responseType: 'blob'
});
},
};