This commit is contained in:
COOL 2026-07-15 17:17:09 +08:00
parent 43b0e10f6e
commit fe3ed4510b

View File

@ -1,9 +1,6 @@
import {
CoolController,
BaseController,
CoolTag,
CoolUrlTag,
TagTypes,
} from '@cool-midway/core';
import { PluginInfoEntity } from '../../entity/info';
import { Body, Fields, Files, Inject, Post } from '@midwayjs/core';
@ -12,10 +9,6 @@ import { PluginService } from '../../service/info';
/**
*
*/
@CoolUrlTag({
key: TagTypes.IGNORE_TOKEN,
value: [],
})
@CoolController({
api: ['add', 'delete', 'update', 'info', 'list', 'page'],
entity: PluginInfoEntity,
@ -46,7 +39,6 @@ export class AdminPluginInfoController extends BaseController {
@Inject()
pluginService: PluginService;
@CoolTag(TagTypes.IGNORE_TOKEN)
@Post('/install', { summary: '安装插件' })
async install(@Files() files, @Fields() fields) {
return this.ok(