mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
Revert "update"
This reverts commit 71be841f4d65a63a61059bb45bbc6e6f4bb35b42.
This commit is contained in:
@@ -108,9 +108,9 @@ public class MemberBasicInfoController extends BaseController {
|
||||
@GetMapping("/getMerchantListByAuth")
|
||||
public RestApiResponse<?> getMerchantListByAuth() {
|
||||
RestApiResponse<?> response = null;
|
||||
// LoginUserDetailVO loginUserDetail = UserUtils.getLoginUserDetail();
|
||||
// logger.info("获取登录用户信息:{}", JSON.toJSONString(loginUserDetail));
|
||||
List<MerchantInfoVO> list = UserUtils.getMerchantInfoVOList();
|
||||
LoginUserDetailVO loginUserDetail = UserUtils.getLoginUserDetail();
|
||||
logger.info("获取登录用户信息:{}", JSON.toJSONString(loginUserDetail));
|
||||
List<MerchantInfoVO> list = loginUserDetail.getMerchantInfoVOList();
|
||||
if (CollectionUtils.isEmpty(list)) {
|
||||
list = new ArrayList<>();
|
||||
}
|
||||
|
||||
@@ -41,9 +41,9 @@ public class MemberGroupController extends BaseController {
|
||||
@PreAuthorize("@ss.hasPermi('member:memberGroup:list')")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(MemberGroupDTO memberGroup) {
|
||||
// LoginUserDetailVO loginUserDetail = UserUtils.getLoginUserDetail();
|
||||
// logger.info("获取登录用户信息:{}", JSON.toJSONString(loginUserDetail));
|
||||
List<MerchantInfoVO> merchantInfoVOList = UserUtils.getMerchantInfoVOList();
|
||||
LoginUserDetailVO loginUserDetail = UserUtils.getLoginUserDetail();
|
||||
logger.info("获取登录用户信息:{}", JSON.toJSONString(loginUserDetail));
|
||||
List<MerchantInfoVO> merchantInfoVOList = loginUserDetail.getMerchantInfoVOList();
|
||||
List<String> collect = merchantInfoVOList.stream().map(MerchantInfoVO::getMerchantId).collect(Collectors.toList());
|
||||
memberGroup.setMerchantIdList(collect);
|
||||
startPage();
|
||||
|
||||
Reference in New Issue
Block a user