|
|
@ -65,7 +65,7 @@ public class MineController { |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@PostMapping("generateshortuserid") |
|
|
|
Result<ShortUserIdInfoResultDTO> generateShortUserId(TokenDto tokenDto, @RequestBody GenerateShortUserIdFormDTO formDTO) { |
|
|
|
Result<ShortUserIdInfoResultDTO> generateShortUserId(@LoginUser TokenDto tokenDto, @RequestBody GenerateShortUserIdFormDTO formDTO) { |
|
|
|
String userId = tokenDto.getUserId(); |
|
|
|
GenerateShortUserIdBizTypeEnum bizTypeEnum = GenerateShortUserIdBizTypeEnum.getEnum(formDTO.getBizType()); |
|
|
|
if (bizTypeEnum == null) { |
|
|
|