用户 余额支付

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

@@ -51,7 +51,7 @@ public class ShopUser implements Serializable {
/** /**
* 电话号码 * 电话号码
*/ */
@ColumnMask(Masks.MOBILE) // @ColumnMask(Masks.MOBILE)
private String phone; private String phone;
/** /**

View File

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