diff --git a/projects/fangjia-coresite/src/main/java/com/fangjia/coresite/controllers/AdviceLeadsController.java b/projects/fangjia-coresite/src/main/java/com/fangjia/coresite/controllers/AdviceLeadsController.java new file mode 100644 index 000000000..46f2fbf1a --- /dev/null +++ b/projects/fangjia-coresite/src/main/java/com/fangjia/coresite/controllers/AdviceLeadsController.java @@ -0,0 +1,51 @@ +package com.fangjia.coresite.controllers; + +import com.fangjia.coresite.model.AdviceLeadsModel; +import com.fangjia.coresite.model.user.Message; +import com.fangjia.coresite.model.user.UserRegJsonModel; +import com.fangjia.coresite.util.CoresiteCookieContext; +import com.fangjia.coresite.util.LoginUtil; +import com.fangjia.dal.mongo.fangjia.model.AdviceLeads; +import com.fangjia.service.common.CookieName; +import com.fangjia.service.fangjia.AdviceLeadsService; +import javax.servlet.http.HttpServletRequest; +import java.util.Date; + +public class AdviceLeadsController { + + private AdviceLeadsService adviceLeadsService; + + private static final CoresiteCookieContext COOKIE_CONTEXT = CoresiteCookieContext + .getInstance(); + + public Object doAddAction(AdviceLeadsModel model, HttpServletRequest req) { + UserRegJsonModel result = new UserRegJsonModel(); + model.setViewType("redirect"); + + String tempId = COOKIE_CONTEXT.getCookieValue(req, CookieName.UID); + AdviceLeads adviceLeads = new AdviceLeads(); + adviceLeads.setName(model.getName()); + adviceLeads.setMobile(model.getMobile()); + adviceLeads.setEmail(model.getEmail()); + adviceLeads.setCompany(model.getCompany()); + adviceLeads.setDepartment(model.getDepartment()); + adviceLeads.setPosition(model.getPosition()); + adviceLeads.setCreateDate(new Date()); + adviceLeads.setModifyDate(new Date()); + adviceLeads.setUserId(LoginUtil.getUserId(req)); + adviceLeads.setTempId(tempId); + adviceLeadsService.save(adviceLeads); + result.setResult(Message.RESULT_SUCCESS); + return result; + } + + public AdviceLeadsService getAdviceLeadsService() { + return adviceLeadsService; + } + + public void setAdviceLeadsService(AdviceLeadsService adviceLeadsService) { + this.adviceLeadsService = adviceLeadsService; + } + + +} diff --git a/projects/fangjia-coresite/src/main/java/com/fangjia/coresite/model/AdviceLeadsModel.java b/projects/fangjia-coresite/src/main/java/com/fangjia/coresite/model/AdviceLeadsModel.java new file mode 100644 index 000000000..4564000f0 --- /dev/null +++ b/projects/fangjia-coresite/src/main/java/com/fangjia/coresite/model/AdviceLeadsModel.java @@ -0,0 +1,88 @@ +package com.fangjia.coresite.model; + +public class AdviceLeadsModel extends BaseModel{ + + private static final long serialVersionUID = -5664116886759283515L; + + /** + * ÐÕÃû + */ + private String name; + + + /** + * Êֻú + */ + private String mobile; + + + /** + * ÓÊÏä + */ + private String email; + + /** + * ¹«˾ + */ + private String company; + + + + /** + * ²¿ÃÅ + */ + private String department; + + /** + * ְλ + */ + private String position; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getMobile() { + return mobile; + } + + public void setMobile(String mobile) { + this.mobile = mobile; + } + + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + public String getCompany() { + return company; + } + + public void setCompany(String company) { + this.company = company; + } + + public String getDepartment() { + return department; + } + + public void setDepartment(String department) { + this.department = department; + } + + public String getPosition() { + return position; + } + + public void setPosition(String position) { + this.position = position; + } +} diff --git a/projects/fangjia-coresite/src/main/webapp/company/about.ftl b/projects/fangjia-coresite/src/main/webapp/company/about.ftl index 53b3d7b12..39fee4100 100644 --- a/projects/fangjia-coresite/src/main/webapp/company/about.ftl +++ b/projects/fangjia-coresite/src/main/webapp/company/about.ftl @@ -80,7 +80,9 @@ 邮 箱: gujia@fangjia.com 地 址:上海市黄浦区黄陂北路227号中区广场1207室
邮 编: 200003
+

+
-
+
+
+

+ 关注估家科技客服微信号
+   Follow us on WeChat
+
+
+

+ 关注官方微信公众号
+ Follow us on WeChat
+
+ <#--
+
+   关注官方微信公众号
+   Follow us on WeChat +
--> + +
@@ -115,9 +134,23 @@ 地 址: 上海市黄浦区黄陂北路227号中区广场1207室
邮 编: 200003

-
-
+
+
+
+ 关注估家科技客服微信号
+   Follow us on WeChat +
+
+
+   关注官方微信公众号
+   Follow us on WeChat +
+
+
+<#--
--> +
+
他们都在和我们合作
diff --git a/projects/fangjia-coresite/src/main/webapp/header/v5/contact.ftl b/projects/fangjia-coresite/src/main/webapp/header/v5/contact.ftl index 7d098faa3..8bfd9856c 100644 --- a/projects/fangjia-coresite/src/main/webapp/header/v5/contact.ftl +++ b/projects/fangjia-coresite/src/main/webapp/header/v5/contact.ftl @@ -16,9 +16,9 @@
  • - +
    - market@fangjia.com + gujia@fangjia.com
  • diff --git a/projects/fangjia-coresite/src/main/webapp/header/v5/index.ftl b/projects/fangjia-coresite/src/main/webapp/header/v5/index.ftl index f30cceb89..ca9611b59 100644 --- a/projects/fangjia-coresite/src/main/webapp/header/v5/index.ftl +++ b/projects/fangjia-coresite/src/main/webapp/header/v5/index.ftl @@ -1476,9 +1476,9 @@
  • - +
    - market@fangjia.com + gujia@fangjia.com
  • diff --git a/projects/fangjia-coresite/src/main/webapp/saleLeads/apply.ftl b/projects/fangjia-coresite/src/main/webapp/saleLeads/apply.ftl index dc913c853..c8c45e7cc 100644 --- a/projects/fangjia-coresite/src/main/webapp/saleLeads/apply.ftl +++ b/projects/fangjia-coresite/src/main/webapp/saleLeads/apply.ftl @@ -243,14 +243,14 @@
    - +
    - +
    @@ -259,7 +259,7 @@
    所在城市不能为空
    - +
    - + @@ -311,7 +311,7 @@
    工作职能不能为空
    - + @@ -337,7 +337,7 @@
    工作职能不能为空
    - + @@ -366,7 +366,7 @@
    工作职能不能为空
    - + @@ -391,7 +391,7 @@
    工作职能不能为空
    - +
    - +
    - +
    - +

    解决方案

    @@ -445,7 +445,7 @@
    - +
    其他业务需求不能为空
    @@ -556,7 +556,7 @@ $(".user_btn").click(function(){ return false; } - if(!checkEmail()){ + /*if(!checkEmail()){ scrollBy(0,-300); return false; } @@ -575,7 +575,7 @@ $(".user_btn").click(function(){ scrollBy(0,-100); return false; } - } + } */ var cls = $(".agreement i").attr("class"); if(cls.indexOf("checked")>-1){ diff --git a/projects/fangjia-coresite/src/main/webapp/solution/standardization.ftl b/projects/fangjia-coresite/src/main/webapp/solution/standardization.ftl index a0317c8a0..8fd43fe3f 100644 --- a/projects/fangjia-coresite/src/main/webapp/solution/standardization.ftl +++ b/projects/fangjia-coresite/src/main/webapp/solution/standardization.ftl @@ -32,7 +32,7 @@

    无论在风控、征信还是营销领域,任何批量地址数据的处理都离不开地址标准化。
    房价网基于强大的CPDB数据库和人机技术,为各行业提供高效智能的地址标准化服务。

    @@ -41,7 +41,7 @@

    地址标准化解决方案

    @@ -110,7 +110,7 @@

    您可通过在线方式联系专业顾问,他们将非常乐意为您提供更多服务。

    - 立即咨询 + 立即咨询
    @@ -128,9 +128,134 @@ +
    + <#--
    申请贷款
    --> +
    +
    +
    +
    +
    + + +
    +
    +
    + + +
    +
    +
    + + + +
    +
    + + +
    +
    + + +
    +
    + + +
    +
    +
    + <#--提交 + 返回--> + + 提交 + 返回 +
    +
    +
    +
    +
    + <#include "/header/v5/_footer.ftl"/> + diff --git a/projects/fangjia-dal/src/main/java/com/fangjia/dal/mongo/fangjia/dao/AdviceLeadsDao.java b/projects/fangjia-dal/src/main/java/com/fangjia/dal/mongo/fangjia/dao/AdviceLeadsDao.java new file mode 100644 index 000000000..82f78ea77 --- /dev/null +++ b/projects/fangjia-dal/src/main/java/com/fangjia/dal/mongo/fangjia/dao/AdviceLeadsDao.java @@ -0,0 +1,8 @@ +package com.fangjia.dal.mongo.fangjia.dao; + +import com.fangjia.dal.MongoDao; +import com.fangjia.dal.mongo.fangjia.model.AdviceLeads; + +public interface AdviceLeadsDao extends MongoDao { + +} diff --git a/projects/fangjia-dal/src/main/java/com/fangjia/dal/mongo/fangjia/dao/AdviceLeadsDaoImpl.java b/projects/fangjia-dal/src/main/java/com/fangjia/dal/mongo/fangjia/dao/AdviceLeadsDaoImpl.java new file mode 100644 index 000000000..f6b0feb55 --- /dev/null +++ b/projects/fangjia-dal/src/main/java/com/fangjia/dal/mongo/fangjia/dao/AdviceLeadsDaoImpl.java @@ -0,0 +1,8 @@ +package com.fangjia.dal.mongo.fangjia.dao; + +import com.fangjia.dal.MongoDaoImpl; +import com.fangjia.dal.mongo.fangjia.model.AdviceLeads; + +public class AdviceLeadsDaoImpl extends MongoDaoImpl implements AdviceLeadsDao { + +} diff --git a/projects/fangjia-dal/src/main/java/com/fangjia/dal/mongo/fangjia/model/AdviceLeads.java b/projects/fangjia-dal/src/main/java/com/fangjia/dal/mongo/fangjia/model/AdviceLeads.java new file mode 100644 index 000000000..ad2a629a8 --- /dev/null +++ b/projects/fangjia-dal/src/main/java/com/fangjia/dal/mongo/fangjia/model/AdviceLeads.java @@ -0,0 +1,175 @@ +package com.fangjia.dal.mongo.fangjia.model; + +import com.fangjia.dal.MongoEntity; + +import javax.persistence.*; +import java.util.Date; + +/** + * а淿¼ÛÍø×ÉѯÏßË÷±í + * + */ +@Entity +@Table(name = "fangjia_coresite.advice_leads") +public class AdviceLeads implements MongoEntity { + + private static final long serialVersionUID = 3318465986161755755L; + + private String id; + + /** + * ÐÕÃû + */ + private String name; + + + /** + * Êֻú + */ + private String mobile; + + + /** + * ÓÊÏä + */ + private String email; + + /** + * ¹«˾ + */ + private String company; + + + + /** + * ²¿ÃÅ + */ + private String department; + + /** + * ְλ + */ + private String position; + + /** + * ´´½¨ʱ¼ä + */ + private Date createDate; + + /** + * Ð޸Äʱ¼ä + */ + private Date modifyDate; + + /** + * ÁÙʱÓû§id + */ + private String tempId; + + /** + * ÕæʵÓû§id + */ + private String userId; + + @Id + @GeneratedValue + @Column(name = "_id", unique = true, nullable = false) + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + @Column(name = "name") + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + @Column(name = "company") + public String getCompany() { + return company; + } + + public void setCompany(String company) { + this.company = company; + } + + @Column(name = "mobile") + public String getMobile() { + return mobile; + } + + public void setMobile(String mobile) { + this.mobile = mobile; + } + + @Column(name = "email") + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + @Column(name = "department") + public String getDepartment() { + return department; + } + + public void setDepartment(String department) { + this.department = department; + } + + @Column(name = "position") + public String getPosition() { + return position; + } + + public void setPosition(String position) { + this.position = position; + } + + @Column(name = "c_date") + public Date getCreateDate() { + return createDate; + } + + public void setCreateDate(Date createDate) { + this.createDate = createDate; + } + + @Column(name = "m_date") + public Date getModifyDate() { + return modifyDate; + } + + public void setModifyDate(Date modifyDate) { + this.modifyDate = modifyDate; + } + + @Column(name = "temp_id") + public String getTempId() { + return tempId; + } + + public void setTempId(String tempId) { + this.tempId = tempId; + } + + @Column(name = "user_id") + public String getUserId() { + return userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + +} diff --git a/projects/fangjia-service/src/main/java/com/fangjia/service/fangjia/AdviceLeadsService.java b/projects/fangjia-service/src/main/java/com/fangjia/service/fangjia/AdviceLeadsService.java new file mode 100644 index 000000000..dd769f252 --- /dev/null +++ b/projects/fangjia-service/src/main/java/com/fangjia/service/fangjia/AdviceLeadsService.java @@ -0,0 +1,13 @@ +package com.fangjia.service.fangjia; + +import com.fangjia.dal.mongo.fangjia.model.AdviceLeads; + +/** + * а淿¼ÛÍø×ÉѯÏßË÷Ïà¹ØҵÎñ + * + */ +public interface AdviceLeadsService { + + void save(AdviceLeads adviceLeads); + +} diff --git a/projects/fangjia-service/src/main/java/com/fangjia/service/fangjia/AdviceLeadsServiceImpl.java b/projects/fangjia-service/src/main/java/com/fangjia/service/fangjia/AdviceLeadsServiceImpl.java new file mode 100644 index 000000000..4bd54b49f --- /dev/null +++ b/projects/fangjia-service/src/main/java/com/fangjia/service/fangjia/AdviceLeadsServiceImpl.java @@ -0,0 +1,23 @@ +package com.fangjia.service.fangjia; + +import com.fangjia.dal.mongo.fangjia.dao.AdviceLeadsDao; +import com.fangjia.dal.mongo.fangjia.model.AdviceLeads; + +public class AdviceLeadsServiceImpl implements AdviceLeadsService { + + private AdviceLeadsDao adviceLeadsDao; + + @Override + public void save(AdviceLeads adviceLeads) { + adviceLeadsDao.save(adviceLeads); + } + + public AdviceLeadsDao getAdviceLeadsDao() { + return adviceLeadsDao; + } + + public void setAdviceLeadsDao(AdviceLeadsDao adviceLeadsDao) { + this.adviceLeadsDao = adviceLeadsDao; + } + +} diff --git a/projects/fangjia-static/src/main/webapp/images/fangjia/v5/GfWx.png b/projects/fangjia-static/src/main/webapp/images/fangjia/v5/GfWx.png new file mode 100644 index 000000000..618de2d72 Binary files /dev/null and b/projects/fangjia-static/src/main/webapp/images/fangjia/v5/GfWx.png differ diff --git a/projects/fangjia-static/src/main/webapp/images/fangjia/v5/KfWx.png b/projects/fangjia-static/src/main/webapp/images/fangjia/v5/KfWx.png new file mode 100644 index 000000000..b665e5205 Binary files /dev/null and b/projects/fangjia-static/src/main/webapp/images/fangjia/v5/KfWx.png differ