mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-13 10:32:49 +00:00
v8.x
This commit is contained in:
parent
b7853004df
commit
b777961acf
@ -12,7 +12,7 @@ export class AdminCodingController extends BaseController {
|
|||||||
|
|
||||||
@Get('/getModuleTree', { summary: '获取模块目录结构' })
|
@Get('/getModuleTree', { summary: '获取模块目录结构' })
|
||||||
async getModuleTree() {
|
async getModuleTree() {
|
||||||
return this.baseCodingService.getModuleTree();
|
return this.ok(await this.baseCodingService.getModuleTree());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Post('/createCode', { summary: '创建代码' })
|
@Post('/createCode', { summary: '创建代码' })
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user