浏览代码

no message

xingzai 3 年之前
父节点
当前提交
d85d75e715
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      controllers/activity.go

+ 3 - 1
controllers/activity.go

@@ -397,7 +397,9 @@ func (this *ActivityCoAntroller) SignupAdd() {
 	resp := new(models.SignupStatus)
 	resp.SignupType = signupType
 	resp.SignupStatus = signupStatus
-	resp.ActivityId = activityId
+	if signupStatus == "Success" {
+		resp.ActivityId = activityId
+	}
 	if activityId%2 == 1 {
 		resp.GoFollow = true
 	}