|
|
|
@ -1866,14 +1866,13 @@ func ActivityBetDrawInfo(c *gin.Context) { |
|
|
|
var types []int |
|
|
|
var types []int |
|
|
|
var confs []*common.ConfigActivityBetDraw |
|
|
|
var confs []*common.ConfigActivityBetDraw |
|
|
|
for _, item := range resp.List { |
|
|
|
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) { |
|
|
|
if !util.SliceContain(types, item.Type) { |
|
|
|
types = append(types, item.Type) |
|
|
|
types = append(types, item.Type) |
|
|
|
confs = append(confs, item) |
|
|
|
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() |
|
|
|
now := time.Now() |
|
|
|
update := false |
|
|
|
update := false |
|
|
|
|