Browse Source

no message

xingzai 1 year ago
parent
commit
e813850d09
1 changed files with 2 additions and 2 deletions
  1. 2 2
      controllers/cygx/activity_signup.go

+ 2 - 2
controllers/cygx/activity_signup.go

@@ -1924,9 +1924,9 @@ func (this *ActivitySignupCoAntroller) AddSignuUser() {
 	if len(itemsSendWxMsg) > 0 {
 	if len(itemsSendWxMsg) > 0 {
 		go cygxService.SendWxMsgWithCygxActivitySignUpBySell(itemsSendWxMsg)
 		go cygxService.SendWxMsgWithCygxActivitySignUpBySell(itemsSendWxMsg)
 	}
 	}
-	if len(itemsAppointment) > 0 {
+	if len(items) > 0 {
 		//1用户报名添加到处理研选扣点
 		//1用户报名添加到处理研选扣点
-		for _, v := range itemsAppointment {
+		for _, v := range items {
 			go cygxService.YanXuanActivityPointsBillSignupAdd(v.ActivityId, v.UserId, adminInfo.AdminId)
 			go cygxService.YanXuanActivityPointsBillSignupAdd(v.ActivityId, v.UserId, adminInfo.AdminId)
 		}
 		}
 	}
 	}