优化插件列表

This commit is contained in:
cool 2024-02-02 15:23:19 +08:00
parent f7ef3a91fc
commit f06fe943d3

View File

@ -20,6 +20,22 @@ import { PluginService } from '../../service/info';
api: ['add', 'delete', 'update', 'info', 'list', 'page'],
entity: PluginInfoEntity,
service: PluginService,
pageQueryOp: {
select: [
'a.id',
'a.name',
'a.keyName',
'a.hook',
'a.version',
'a.status',
'a.readme',
'a.author',
'a.logo',
'a.description',
'a.pluginJson',
'a.config',
],
},
})
export class AdminPluginInfoController extends BaseController {
@Inject()