用户 余额支付
This commit is contained in:
@@ -51,7 +51,7 @@ public class ShopUser implements Serializable {
|
||||
/**
|
||||
* 电话号码
|
||||
*/
|
||||
@ColumnMask(Masks.MOBILE)
|
||||
// @ColumnMask(Masks.MOBILE)
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user