|
@@ -57,7 +57,11 @@ public class WeixinUserInfoQueryService implements IWeixinUserInfoQueryService,
|
|
Page<WeixinUserInfo> weixinUserInfos=weixinUserInfoRepository.findAll(specification, pageable);
|
|
Page<WeixinUserInfo> weixinUserInfos=weixinUserInfoRepository.findAll(specification, pageable);
|
|
for (WeixinUserInfo weixinUserInfo:weixinUserInfos.getContent()){
|
|
for (WeixinUserInfo weixinUserInfo:weixinUserInfos.getContent()){
|
|
String sePhone=iSecretEncodeDecodeService.decode(weixinUserInfo.getSecretPhone());
|
|
String sePhone=iSecretEncodeDecodeService.decode(weixinUserInfo.getSecretPhone());
|
|
- weixinUserInfo.setRemark(sePhone.substring(0,3)+"****"+sePhone.substring(7,sePhone.length()));
|
|
|
|
|
|
+ if (sePhone == null || sePhone.isEmpty()) {
|
|
|
|
+ weixinUserInfo.setRemark("***********");
|
|
|
|
+ } else {
|
|
|
|
+ weixinUserInfo.setRemark(sePhone.substring(0, 3) + "****" + sePhone.substring(7, sePhone.length()));
|
|
|
|
+ }
|
|
}
|
|
}
|
|
return weixinUserInfos;
|
|
return weixinUserInfos;
|
|
}
|
|
}
|