xingzai 1 anno fa
parent
commit
360978b8b6
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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