feat: 支持会员编号

This commit is contained in:
richarjiang
2025-09-26 08:48:22 +08:00
parent 21b00cee0d
commit 8e51994e71
4 changed files with 95 additions and 1 deletions

View File

@@ -57,7 +57,7 @@ export class UsersController {
@UseGuards(JwtAuthGuard)
@Get('/info')
@HttpCode(HttpStatus.OK)
@ApiOperation({ summary: '创建用户' })
@ApiOperation({ summary: '获取用户信息' })
@ApiBody({ type: CreateUserDto })
@ApiResponse({ type: UserResponseDto })
async getProfile(@CurrentUser() user: AccessTokenPayload): Promise<UserResponseDto> {