mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-11 00:22:49 +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'],
|
||||
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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user