feat: 支持会员编号
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user