|
@@ -794,14 +794,12 @@ public class AuthProductServiceImpl implements AuthProductService {
|
|
//判断是否是手机号
|
|
//判断是否是手机号
|
|
String phoneNumber=authVo.getCreateBy();
|
|
String phoneNumber=authVo.getCreateBy();
|
|
if(StringUtils.isNotEmpty(phoneNumber)){
|
|
if(StringUtils.isNotEmpty(phoneNumber)){
|
|
- boolean matches = phoneNumber.matches("^[1][3,4,5,7,8,9][0-9]{9}$");
|
|
|
|
- if(matches){
|
|
|
|
|
|
+// boolean matches = phoneNumber.matches("^[1][3,4,5,7,8,9][0-9]{9}$");
|
|
|
|
+// if(matches){
|
|
//脱敏处理
|
|
//脱敏处理
|
|
- if(StringUtils.isNotEmpty(phoneNumber)){
|
|
|
|
phoneNumber = phoneNumber.replaceAll("(\\w{3})\\w*(\\w{4})", "$1****$2");
|
|
phoneNumber = phoneNumber.replaceAll("(\\w{3})\\w*(\\w{4})", "$1****$2");
|
|
authVo.setCreateBy(phoneNumber);
|
|
authVo.setCreateBy(phoneNumber);
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+// }
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}
|
|
}
|