@@ -191,7 +191,8 @@ public class AdminCustomerApiController extends BaseApiController{
res.getError().add(buildError("","客户名称、联系人、联系电话、社会性质、地址不能为空"));
return res;
}
- customerService.addCustomer(name, contacts, contactMobile,type,source,societyTag,province,city,area);
+ //将新增客户的空格去除
+ customerService.addCustomer(name.replace(" ", ""), contacts, contactMobile,type,source,societyTag,province,city,area);
@@ -60,12 +60,12 @@ template.cacheable=false
portal.host=//sf.jishutao.com/portal/2.0.6
avatar.upload.host=//sb.jishutao.com/upload
#连接开发
-static.host=//sb.jishutao.com/1.0.98
+static.host=//sb.jishutao.com/1.0.99
avatar.host=//sb.jishutao.com
#连生产
#avatar.host=//static.kedexinxi.com
-#static.host=//s.kedexinxi.com/1.0.98
+#static.host=//s.kedexinxi.com/1.0.99
upload.path=F:/data/public/upload
upload.private.path=F:/data/private/upload