diff --git a/cash-common/cash-common-service/src/main/java/com/czg/account/entity/ShopUser.java b/cash-common/cash-common-service/src/main/java/com/czg/account/entity/ShopUser.java index 358907fd0..a79335442 100644 --- a/cash-common/cash-common-service/src/main/java/com/czg/account/entity/ShopUser.java +++ b/cash-common/cash-common-service/src/main/java/com/czg/account/entity/ShopUser.java @@ -51,7 +51,7 @@ public class ShopUser implements Serializable { /** * 电话号码 */ - @ColumnMask(Masks.MOBILE) +// @ColumnMask(Masks.MOBILE) private String phone; /** diff --git a/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/AShopUserServiceImpl.java b/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/AShopUserServiceImpl.java index aec9d53d4..d25bb0d7a 100644 --- a/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/AShopUserServiceImpl.java +++ b/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/AShopUserServiceImpl.java @@ -93,14 +93,14 @@ public class AShopUserServiceImpl implements AShopUserService { Long mainIdByShopId = shopInfoService.getMainIdByShopId(StpKit.USER.getShopId()); PageHelper.startPage(PageUtil.buildPageHelp()); PageInfo 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); }