mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-10 16:12:50 +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: '获取模块目录结构' })
|
||||
async getModuleTree() {
|
||||
return this.baseCodingService.getModuleTree();
|
||||
return this.ok(await this.baseCodingService.getModuleTree());
|
||||
}
|
||||
|
||||
@Post('/createCode', { summary: '创建代码' })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user