Przeglądaj źródła

手机号码段没有包括全 去掉验证

MicroWin10-1604\Administrator 7 lat temu
rodzic
commit
8beff451e2

+ 2 - 2
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/customer/CustomerController.cs

201
                         return Error("省份不能为空!");
201
                         return Error("省份不能为空!");
202
                     if (!Validate.IsHasCHZN(province))
202
                     if (!Validate.IsHasCHZN(province))
203
                         return Error("请输入有效的省份!");
203
                         return Error("请输入有效的省份!");
204
-                    if (!Validate.IsValidPhoneAndMobile(mobile))
205
-                        return Error("请输入有效的电话号码");
204
+                    //if (!Validate.IsValidPhoneAndMobile(mobile))
205
+                    //    return Error("请输入有效的电话号码");
206
                     #endregion
206
                     #endregion
207
 
207
 
208
                     Model.T_Cus_CustomerBase model = new Model.T_Cus_CustomerBase();
208
                     Model.T_Cus_CustomerBase model = new Model.T_Cus_CustomerBase();