This commit is contained in:
dimengzhe
2024-01-19 16:41:08 +08:00
parent 82783ea341
commit cd4b1e615c

View File

@@ -146,6 +146,7 @@ public class LpkCustomerService extends MybatisBaseService<LpkCustomerMapper, Lp
ResultBean rb = ResultBean.fireFail();
LpkCustomerVo lpkCustomer= baseMapper.getCustomerInfo(sid);
lpkCustomer.setPhoto(fileUploadComponent.getUrlPrefix() + lpkCustomer.getPhoto());
lpkCustomer.setMobile(lpkCustomer.getMobile().replaceAll("(?<=\\d{3})\\d{4}(?=\\d{4})", "****"));
return rb.success().setData(lpkCustomer);
}