From 79a1fa05d39427cc0110b92be0698331e4c845b6 Mon Sep 17 00:00:00 2001 From: cool_team Date: Tue, 23 May 2023 09:34:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=90=E7=A4=BA=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/user/controller/app/info.ts | 2 +- tsconfig.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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" },