用户 余额支付

This commit is contained in:
2026-04-03 14:37:09 +08:00
parent 546edea749
commit 60fbcb32b1
2 changed files with 9 additions and 9 deletions

View File

@@ -93,14 +93,14 @@ public class AShopUserServiceImpl implements AShopUserService {
Long mainIdByShopId = shopInfoService.getMainIdByShopId(StpKit.USER.getShopId());
PageHelper.startPage(PageUtil.buildPageHelp());
PageInfo<ShopUserDTO> shopUsers = new PageInfo<>(shopUserMapper.selectPageByKeyAndIsVip(mainIdByShopId, isVip, key, amount));
shopUsers.getList().forEach(shopUserDTO -> {
if (StrUtil.isNotBlank(shopUserDTO.getPhone())) {
shopUserDTO.setPhone(DesensitizedUtil.mobilePhone(shopUserDTO.getPhone()));
}
if (StrUtil.isNotBlank(shopUserDTO.getNickName())) {
shopUserDTO.setNickName(DesensitizedUtil.chineseName(shopUserDTO.getNickName()));
}
});
// shopUsers.getList().forEach(shopUserDTO -> {
// if (StrUtil.isNotBlank(shopUserDTO.getPhone())) {
// shopUserDTO.setPhone(DesensitizedUtil.mobilePhone(shopUserDTO.getPhone()));
// }
// if (StrUtil.isNotBlank(shopUserDTO.getNickName())) {
// shopUserDTO.setNickName(DesensitizedUtil.chineseName(shopUserDTO.getNickName()));
// }
// });
return PageUtil.convert(shopUsers);
}