chore: suite

This commit is contained in:
xiaojunnuo
2024-12-19 01:21:55 +08:00
parent 8814ffeda6
commit 45839f227a
16 changed files with 422 additions and 89 deletions

View File

@@ -57,8 +57,8 @@ export class PluginController extends CrudController<PluginService> {
}
@Post('/deleteByIds', { summary: 'sys:settings:edit' })
async deleteByIds(@Body(ALL) body: { ids: number[] }) {
const res = await this.service.delete(body.ids);
async deleteByIds(@Body('ids') ids: number[]) {
const res = await this.service.delete(ids);
return this.ok(res);
}