从bid改回id

This commit is contained in:
2026-03-19 10:18:31 +08:00
parent a63b01e6ec
commit bbc10ce359
3 changed files with 5 additions and 7 deletions

View File

@@ -56,11 +56,11 @@ export function updateCategory(data: object) {
}
// 删除分类
export function deleteCategory(bid: string) {
export function deleteCategory(id: number) {
return newService({
url: '/assets/category/deleteCategory',
method: 'delete',
params: { bid },
params: { id },
});
}