3
1

2 Коммитууд db69e9756d ... e26d102e53

Эзэн SHA1 Мессеж Огноо
  zhangchuanxing e26d102e53 Merge branch 'crm/crm_16.4' of http://8.136.199.33:3000/hongze/hz_crm_api into debug 1 өдөр өмнө
  zhangchuanxing e48606f8f5 no message 1 өдөр өмнө

+ 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