review:【ANTD】批量删除代码

This commit is contained in:
YunaiV
2025-05-19 19:52:25 +08:00
parent 9503ef4b52
commit 241e340c3f
10 changed files with 21 additions and 7 deletions

View File

@@ -21,6 +21,7 @@ export namespace InfraCodegenApi {
createTime: Date;
updateTime: Date;
templateType: number;
// TODO @puhui999使用后端统一配置。因为一般需要批量的团队会一直需要。不需要的一般一直不需要哈。
deleteBatch: boolean;
parentMenuId: number;
}

View File

@@ -47,6 +47,7 @@ export function deleteDemo01Contact(id: number) {
}
// 批量删除示例联系人
// TODO @puhui999注释风格哈。
export function deleteDemo01ContactByIds(ids: number[]) {
return requestClient.delete(
`/infra/demo01-contact/delete-batch?ids=${ids.join(',')}`,