修改每日菜品删除接口

This commit is contained in:
ctw committed 2025-01-14 11:08:41 +08:00
1 parent e5b9768998
commit d660e55f26
2 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -23,11 +23,11 @@ export function getObj(id?: string) {
})
}
export function delObjs(data?: Object) {
export function delObjs(tid: number[], merchantId: string) {
return request({
url: "/canteen/canteenDailyMenu",
url: `/canteen/canteenDailyMenu?merchantId=${merchantId}`,
method: "delete",
data,
data: tid,
})
}