Kaynağa Gözat

新增渠道接口修改

anderx 3 yıl önce
ebeveyn
işleme
714213d674

+ 7 - 14
src/main/java/com/goafanti/customer/bo/InputAddCustomer.java

@@ -10,27 +10,21 @@ public class InputAddCustomer {
     @NotNull(message = "{"+ ErrorConstants.PARAM_EMPTY_ERROR+"}")
     @Param(name = "名称")
     private String name;
-    @NotNull(message = "{"+ ErrorConstants.PARAM_EMPTY_ERROR+"}")
-    @Param(name = "联系人")
+
     private String contacts;
-    @NotNull(message = "{"+ ErrorConstants.PARAM_EMPTY_ERROR+"}")
-    @Param(name = "联系人电话")
+
     private String contactMobile;
 
     private Integer type;
-    @NotNull(message = "{"+ ErrorConstants.PARAM_EMPTY_ERROR+"}")
-    @Param(name = "省")
+
     private Integer province;
-    @NotNull(message = "{"+ ErrorConstants.PARAM_EMPTY_ERROR+"}")
-    @Param(name = "市")
+
     private Integer city;
-    @NotNull(message = "{"+ ErrorConstants.PARAM_EMPTY_ERROR+"}")
-    @Param(name = "区")
+
     private Integer area;
     private Integer source;
     private String societyTag;
-    @NotNull(message = "{"+ ErrorConstants.PARAM_EMPTY_ERROR+"}")
-    @Param(name = "职位")
+
     private String position;
     private Integer industry;
     private String businessScope;
@@ -40,8 +34,7 @@ public class InputAddCustomer {
     /**
      * 简介
      */
-    @NotNull(message = "{"+ ErrorConstants.PARAM_EMPTY_ERROR+"}")
-    @Param(name = "简介")
+
     private String introduction;
 
     /**