From b9ec56857978b6f35d5537156f37ffb85d9c6d3b Mon Sep 17 00:00:00 2001 From: cuibaocheng Date: Thu, 23 Sep 2021 14:32:48 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E4=BF=AE=E6=94=B9=E4=BA=86=E6=8F=90?= =?UTF-8?q?=E7=8E=B0=E8=AE=B0=E5=BD=95=E5=88=97=E8=A1=A8=E7=9A=84Bug=202.?= =?UTF-8?q?=20=E4=BF=AE=E6=94=B9=E4=BA=86=E5=8A=A8=E6=80=81=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E5=9B=A0=E4=B8=BA=E5=BC=80=E5=90=AFcache=E7=BC=93?= =?UTF-8?q?=E5=AD=98=E5=AF=BC=E8=87=B4=E6=95=B0=E6=8D=AE=E4=B8=8D=E5=85=A8?= =?UTF-8?q?=E4=B8=8D=E6=9B=B4=E6=96=B0=E7=9A=84Bug(=E4=B8=8D=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E7=BC=93=E5=AD=98)=203.=20=E8=B0=83=E8=AF=95=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E5=8F=B0=E5=A2=9E=E5=8A=A0=E4=BA=86=E8=B0=83=E8=AF=95?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=9A=84=E9=85=8D=E7=BD=AE=204.=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=BA=86=E4=BC=81=E4=B8=9A=E8=AE=A4=E8=AF=81=E7=9A=84?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/api/category/CategoryController.java | 4 ++-- .../controller/api/industry/IndustryController.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/cn/com/tenlion/systemcard/controller/api/category/CategoryController.java b/src/main/java/cn/com/tenlion/systemcard/controller/api/category/CategoryController.java index f463f99..84e655d 100644 --- a/src/main/java/cn/com/tenlion/systemcard/controller/api/category/CategoryController.java +++ b/src/main/java/cn/com/tenlion/systemcard/controller/api/category/CategoryController.java @@ -118,8 +118,8 @@ public class CategoryController extends DefaultBaseController { @ApiOperation(value = "当前用户id信息", notes = "当前用户id信息接口") @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) @GetMapping("getcurrentuseridinfo") - public CurrentUserIdInfoDTO getCurrentUserIdInfo() { - return securityComponent.getCurrentUserIdInfo(); + public UserInfoBO getCurrentUserIdInfo() { + return securityComponent.getCurrentUser(); } @ApiOperation(value = "商品类目数据字典树形", notes = "商品类目数据字典树形接口") diff --git a/src/main/java/cn/com/tenlion/systemcard/controller/api/industry/IndustryController.java b/src/main/java/cn/com/tenlion/systemcard/controller/api/industry/IndustryController.java index 649eddb..10da068 100644 --- a/src/main/java/cn/com/tenlion/systemcard/controller/api/industry/IndustryController.java +++ b/src/main/java/cn/com/tenlion/systemcard/controller/api/industry/IndustryController.java @@ -115,8 +115,8 @@ public class IndustryController extends DefaultBaseController { @ApiOperation(value = "当前用户id信息", notes = "当前用户id信息接口") @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) @GetMapping("getcurrentuseridinfo") - public CurrentUserIdInfoDTO getCurrentUserIdInfo() { - return securityComponent.getCurrentUserIdInfo(); + public UserInfoBO getCurrentUserIdInfo() { + return securityComponent.getCurrentUser(); } @ApiOperation(value = "店铺行业数据字典树形", notes = "店铺行业数据字典树形接口")