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