mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-13 02:02:48 +00:00
优化插件列表
This commit is contained in:
parent
f7ef3a91fc
commit
f06fe943d3
@ -20,6 +20,22 @@ import { PluginService } from '../../service/info';
|
|||||||
api: ['add', 'delete', 'update', 'info', 'list', 'page'],
|
api: ['add', 'delete', 'update', 'info', 'list', 'page'],
|
||||||
entity: PluginInfoEntity,
|
entity: PluginInfoEntity,
|
||||||
service: PluginService,
|
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 {
|
export class AdminPluginInfoController extends BaseController {
|
||||||
@Inject()
|
@Inject()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user