瀏覽代碼

no message

xingzai 1 年之前
父節點
當前提交
360978b8b6
共有 1 個文件被更改,包括 3 次插入0 次删除
  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