From 30d649d8c32e93346b216a55c6506ee239f905cb Mon Sep 17 00:00:00 2001 From: wangchao Date: Fri, 31 Jul 2020 14:00:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=85=E6=B0=91=E7=AB=AF=EF=BC=9A=E6=A0=B8?= =?UTF-8?q?=E9=94=80=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/epmet/modules/mine/controller/MineController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epmet-module/resi-mine/resi-mine-server/src/main/java/com/epmet/modules/mine/controller/MineController.java b/epmet-module/resi-mine/resi-mine-server/src/main/java/com/epmet/modules/mine/controller/MineController.java index dccec06857..2166866955 100644 --- a/epmet-module/resi-mine/resi-mine-server/src/main/java/com/epmet/modules/mine/controller/MineController.java +++ b/epmet-module/resi-mine/resi-mine-server/src/main/java/com/epmet/modules/mine/controller/MineController.java @@ -65,7 +65,7 @@ public class MineController { * @return */ @PostMapping("generateshortuserid") - Result generateShortUserId(TokenDto tokenDto, @RequestBody GenerateShortUserIdFormDTO formDTO) { + Result generateShortUserId(@LoginUser TokenDto tokenDto, @RequestBody GenerateShortUserIdFormDTO formDTO) { String userId = tokenDto.getUserId(); GenerateShortUserIdBizTypeEnum bizTypeEnum = GenerateShortUserIdBizTypeEnum.getEnum(formDTO.getBizType()); if (bizTypeEnum == null) {