This commit is contained in:
2023-08-01 11:53:58 +08:00
parent 0dcb3b61f6
commit aad027d9ee
@@ -165,6 +165,7 @@ public class SaleLeadsController {
}
saleLeads = converValue(saleLeads);
String body =
"业务需求:" + saleLeads.getBusiness() + " " + saleLeads.getOtherBusiness() + "\n\n"
@@ -363,12 +364,15 @@ public class SaleLeadsController {
if (saleLeads.getId()!=null) {
saleLeads.setId(null);
}
String ip = AnalyticsUtil.getIpAddress(req);
saleLeads = converValue(saleLeads);
String body =
"业务需求:" + saleLeads.getBusiness() + "\n\n"
+ "姓名:" + saleLeads.getUname() + "\n\n"
+ "手机:" + saleLeads.getMobile() + "\n\n"
+ "咨询内容:" + saleLeads.getRemarks()+ "\n\n" ;
+ "咨询内容:" + saleLeads.getRemarks()+ "\n\n"
+ "IP:" + ip+ "\n\n" ;
body = body.replaceAll("null", "").replaceAll("其他,请填写", "");
if (StringUtils.isNotBlank(refUrl) && refUrl.contains("bd_vid")) {
body += "线索来源:百度";