2 Achegas db69e9756d ... e26d102e53

Autor SHA1 Mensaxe Data
  zhangchuanxing e26d102e53 Merge branch 'crm/crm_16.4' of http://8.136.199.33:3000/hongze/hz_crm_api into debug hai 1 día
  zhangchuanxing e48606f8f5 no message hai 1 día
Modificáronse 1 ficheiros con 7 adicións e 2 borrados
  1. 7 2
      controllers/company_user.go

+ 7 - 2
controllers/company_user.go

@@ -6577,10 +6577,15 @@ func (this *CompanyController) EditUserOutboundMobile() {
 		br.Ret = 408
 		return
 	}
-	if !utils.ValidateMobileFormatat(req.OutboundMobile) {
-		br.Msg = "手机号格式有误"
+
+	if req.OutboundMobile == "" {
+		br.Msg = "手机号不能为空"
 		return
 	}
+	//if !utils.ValidateMobileFormatat(req.OutboundMobile) {
+	//	br.Msg = "手机号格式有误"
+	//	return
+	//}
 	err = models.UpdateUserOutboundMobile(req.OutboundMobile, req.OutboundCountryCode, req.UserId)
 	br.Ret = 200
 	br.Success = true