mofangmin 1 year ago
parent de53be8019
commit c07517572b
  1. 7
      modules/web/handler/activity.go

@ -1866,14 +1866,13 @@ func ActivityBetDrawInfo(c *gin.Context) {
var types []int
var confs []*common.ConfigActivityBetDraw
for _, item := range resp.List {
if resp.Lucky >= item.Cost && vipInfo.Level >= item.VipUnlock {
call.PushRed(a.UID, pb.RedPointModule_RedPointFreeSpin, uint32(1))
break
}
if !util.SliceContain(types, item.Type) {
types = append(types, item.Type)
confs = append(confs, item)
}
if resp.Lucky >= item.Cost && vipInfo.Level >= item.VipUnlock {
call.PushRed(a.UID, pb.RedPointModule_RedPointFreeSpin, uint32(1))
}
}
now := time.Now()
update := false

Loading…
Cancel
Save