diff --git a/src/modules/user/controller/app/info.ts b/src/modules/user/controller/app/info.ts index adde739..3c06c53 100644 --- a/src/modules/user/controller/app/info.ts +++ b/src/modules/user/controller/app/info.ts @@ -22,7 +22,7 @@ export class AppUserInfoController extends BaseController { return this.ok(await this.userInfoService.person(this.ctx.user.id)); } - @Post('/updatePerson', { summary: '获取用户信息' }) + @Post('/updatePerson', { summary: '更新用户信息' }) async updatePerson(@Body() body) { return this.ok( await this.userInfoService.updatePerson(this.ctx.user.id, body) diff --git a/tsconfig.json b/tsconfig.json index c242875..4ec9192 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,6 +13,7 @@ "skipLibCheck": true, "pretty": true, "declaration": true, + "noImplicitAny": false, "typeRoots": [ "./typings", "./node_modules/@types"], "outDir": "dist" },