Authored by qinchao

修改bug

@@ -16,6 +16,7 @@ public class UserAuthorizeInfo { @@ -16,6 +16,7 @@ public class UserAuthorizeInfo {
16 private Integer validStatus; 16 private Integer validStatus;
17 17
18 //支付宝账号、姓名 18 //支付宝账号、姓名
  19 + private String alipayMaskAccount;
19 private String alipayAccount; 20 private String alipayAccount;
20 private String certName; 21 private String certName;
21 22
@@ -63,13 +63,13 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService { @@ -63,13 +63,13 @@ public class RealNameAuthorizeServiceImpl implements IRealNameAuthorizeService {
63 if(authorizeInfo!=null){ 63 if(authorizeInfo!=null){
64 //把账号部分信息隐藏 64 //把账号部分信息隐藏
65 if(HideDataUtil.isEmail(authorizeInfo.getAlipayAccount())){ 65 if(HideDataUtil.isEmail(authorizeInfo.getAlipayAccount())){
66 - authorizeInfo.setAlipayAccount(HideDataUtil.hideEmail(authorizeInfo.getAlipayAccount())); 66 + authorizeInfo.setAlipayMaskAccount(HideDataUtil.hideEmail(authorizeInfo.getAlipayAccount()));
67 }else if(HideDataUtil.isPhone(authorizeInfo.getAlipayAccount())){ 67 }else if(HideDataUtil.isPhone(authorizeInfo.getAlipayAccount())){
68 - authorizeInfo.setAlipayAccount(HideDataUtil.hidePhoneNo(authorizeInfo.getAlipayAccount())); 68 + authorizeInfo.setAlipayMaskAccount(HideDataUtil.hidePhoneNo(authorizeInfo.getAlipayAccount()));
69 }else{ 69 }else{
70 //即不是手机,又不是邮箱,只显示首末位 70 //即不是手机,又不是邮箱,只显示首末位
71 if(authorizeInfo.getAlipayAccount().length()>2){ 71 if(authorizeInfo.getAlipayAccount().length()>2){
72 - authorizeInfo.setAlipayAccount(authorizeInfo.getAlipayAccount().substring(0,1) 72 + authorizeInfo.setAlipayMaskAccount(authorizeInfo.getAlipayAccount().substring(0,1)
73 +"****" 73 +"****"
74 +authorizeInfo.getAlipayAccount().substring(authorizeInfo.getAlipayAccount().length()-1)); 74 +authorizeInfo.getAlipayAccount().substring(authorizeInfo.getAlipayAccount().length()-1));
75 } 75 }