mirror of
https://github.com/certd/certd.git
synced 2026-04-14 20:40:53 +08:00
chore: suite
This commit is contained in:
@@ -49,4 +49,10 @@ export abstract class CrudController<T> extends BaseController {
|
||||
await this.getService().delete([id]);
|
||||
return this.ok(null);
|
||||
}
|
||||
|
||||
@Post('/deleteByIds')
|
||||
async deleteByIds(@Body('ids') ids: number[]) {
|
||||
await this.getService().delete(ids);
|
||||
return this.ok(null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user