3
1

2 Commitit db69e9756d ... e26d102e53

Tekijä SHA1 Viesti Päivämäärä
  zhangchuanxing e26d102e53 Merge branch 'crm/crm_16.4' of http://8.136.199.33:3000/hongze/hz_crm_api into debug 1 päivä sitten
  zhangchuanxing e48606f8f5 no message 1 päivä sitten
1 muutettua tiedostoa jossa 7 lisäystä ja 2 poistoa
  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