mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
查询登录用户权限信息,使用UserUtils
This commit is contained in:
@@ -77,9 +77,10 @@ public class MemberBasicInfoController extends BaseController {
|
||||
RestApiResponse<?> response = null;
|
||||
// List<MerchantInfoVO> list = memberBasicInfoService.getMerchantListByAuth(deptIds);
|
||||
// List<MerchantInfoVO> list = memberBasicInfoService.getMerchantListByAuth();
|
||||
List<MerchantInfoVO> list = UserUtils.getMerchantListByAuth();
|
||||
// List<MerchantInfoVO> list = UserUtils.getMerchantListByAuth();
|
||||
LoginUserDetailVO loginUserDetail = UserUtils.getLoginUserDetail();
|
||||
logger.info("获取登录用户信息:{}", JSON.toJSONString(loginUserDetail));
|
||||
List<MerchantInfoVO> list = loginUserDetail.getMerchantInfoVOList();
|
||||
if (CollectionUtils.isEmpty(list)) {
|
||||
list = new ArrayList<>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user