mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 14:10:29 +08:00
优化提示配置
This commit is contained in:
parent
20be2d3257
commit
79a1fa05d3
@ -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)
|
||||
|
@ -13,6 +13,7 @@
|
||||
"skipLibCheck": true,
|
||||
"pretty": true,
|
||||
"declaration": true,
|
||||
"noImplicitAny": false,
|
||||
"typeRoots": [ "./typings", "./node_modules/@types"],
|
||||
"outDir": "dist"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user