This commit is contained in:
COOL 2025-02-17 19:10:48 +08:00
parent b7853004df
commit b777961acf

View File

@ -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: '创建代码' })