From f06fe943d30ddb4b2a63df1ccb1f70736932c2b4 Mon Sep 17 00:00:00 2001 From: cool Date: Fri, 2 Feb 2024 15:23:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=92=E4=BB=B6=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/plugin/controller/admin/info.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/modules/plugin/controller/admin/info.ts b/src/modules/plugin/controller/admin/info.ts index 3afd53c..4f867cc 100644 --- a/src/modules/plugin/controller/admin/info.ts +++ b/src/modules/plugin/controller/admin/info.ts @@ -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()