mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2024-11-01 22:20:30 +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));
|
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)
|
||||||
|
@ -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"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user