优化提示配置

This commit is contained in:
cool_team 2023-05-23 09:34:37 +08:00
parent 20be2d3257
commit 79a1fa05d3
2 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,7 @@ export class AppUserInfoController extends BaseController {
return this.ok(await this.userInfoService.person(this.ctx.user.id)); return this.ok(await this.userInfoService.person(this.ctx.user.id));
} }
@Post('/updatePerson', { summary: '获取用户信息' }) @Post('/updatePerson', { summary: '更新用户信息' })
async updatePerson(@Body() body) { async updatePerson(@Body() body) {
return this.ok( return this.ok(
await this.userInfoService.updatePerson(this.ctx.user.id, body) await this.userInfoService.updatePerson(this.ctx.user.id, body)

View File

@ -13,6 +13,7 @@
"skipLibCheck": true, "skipLibCheck": true,
"pretty": true, "pretty": true,
"declaration": true, "declaration": true,
"noImplicitAny": false,
"typeRoots": [ "./typings", "./node_modules/@types"], "typeRoots": [ "./typings", "./node_modules/@types"],
"outDir": "dist" "outDir": "dist"
}, },