|
@@ -761,6 +761,7 @@ func (this *ActivityCoAntroller) SignupAdd() {
|
|
|
br.ErrMsg = "获取失败,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+
|
|
|
if signupStatus != "Success" && totalMy == 0 {
|
|
|
item.UserId = uid
|
|
|
item.ActivityId = activityId
|
|
@@ -781,6 +782,8 @@ func (this *ActivityCoAntroller) SignupAdd() {
|
|
|
}
|
|
|
}
|
|
|
totalMySuccess, err := models.GetActivitySignupCount(uid, activityId)
|
|
|
+ fmt.Println(totalMySuccess)
|
|
|
+ fmt.Println(signupStatus)
|
|
|
if err != nil {
|
|
|
br.Msg = "获取失败"
|
|
|
br.ErrMsg = "获取失败,Err:" + err.Error()
|