mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 22:20:30 +08:00
优化插件排序
This commit is contained in:
parent
c04a9577af
commit
9eca93e801
@ -37,6 +37,9 @@ import { PluginService } from '../../service/info';
|
|||||||
'a.createTime',
|
'a.createTime',
|
||||||
'a.updateTime',
|
'a.updateTime',
|
||||||
],
|
],
|
||||||
|
addOrderBy: {
|
||||||
|
id: 'DESC',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
export class AdminPluginInfoController extends BaseController {
|
export class AdminPluginInfoController extends BaseController {
|
||||||
|
@ -50,6 +50,15 @@ export class PluginService extends BaseService {
|
|||||||
await this.pluginCenterService.init();
|
await this.pluginCenterService.init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除不经过回收站
|
||||||
|
* @param ids
|
||||||
|
*/
|
||||||
|
async delete(ids: any) {
|
||||||
|
await this.pluginInfoEntity.delete(ids);
|
||||||
|
await this.reInit();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 更新
|
* 更新
|
||||||
* @param param
|
* @param param
|
||||||
|
Loading…
Reference in New Issue
Block a user