xingzai před 1 rokem
rodič
revize
360978b8b6
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      controllers/activity.go

+ 3 - 0
controllers/activity.go

@@ -610,6 +610,9 @@ func (this *ActivityCoAntroller) SignupAdd() {
 		br.ErrMsg = "参数解析失败,Err:" + err.Error()
 		return
 	}
+	if user.Mobile == "" {
+		user.Mobile = user.OutboundMobile
+	}
 	activityId := req.ActivityId
 	signupType := req.SignupType
 	hasPermission := 0