chore: 模版创建流水线

This commit is contained in:
xiaojunnuo
2025-06-25 14:41:27 +08:00
parent 821c6d807d
commit 9296ba7492
15 changed files with 290 additions and 23 deletions
@@ -59,8 +59,8 @@ export class TemplateController extends CrudController<TemplateService> {
@Post('/delete', { summary: Constants.per.authOnly })
async delete(@Query('id') id: number) {
await this.service.checkUserId(id, this.getUserId());
return super.delete(id);
await this.service.batchDelete([id], this.getUserId());
return this.ok({});
}
@Post('/batchDelete', { summary: Constants.per.authOnly })