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 = "店铺行业数据字典树形接口")