接口返回数据

dev
mofangmin 1 year ago
parent 2d1b27cd39
commit 3e94fcfcc8
  1. 1
      modules/web/handler/activity.go
  2. 83
      modules/web/middleware/token.go
  3. 1
      modules/web/values/activity.go

@ -676,6 +676,7 @@ func ActivityFirstRechargeBackInfo(c *gin.Context) {
}
resp.ProductList = call.GetConfigPayProductByActivityID(common.ActivityIDFirstRechargeBack)
resp.Recharge = data.Amount
resp.BackPer = conf.MaxBack
if data.Amount < conf.MinRecharge {
return
}

@ -15,47 +15,48 @@ import (
var (
passURLs = map[string]struct{}{
"/firstpage": {},
"/game/list": {},
"/sys/config": {},
"/account/email/code": {},
"/account/email/regist": {},
"/account/email/login": {},
"/account/email/resetPass": {},
"/account/guestLogin": {},
"/account/gpLogin": {},
"/account/fbLogin": {},
"/account/tokenLogin": {},
"/account/phoneCode/get": {},
"/account/phoneCode/verify": {},
"/account/phoneCode/regist": {},
"/account/phoneCode/login": {},
"/share/upload": {},
"/share/config": {},
"/game/enter": {},
"/activity/appSpin/info": {},
"/activity/pdd/info": {},
"/account/phone/regist": {},
"/account/phone/login": {},
"/account/phone/resetPass": {},
"/balance/recharge/info": {},
"/share/info": {},
"/vip/info": {},
"/share/reference": {},
"/share/report": {},
"/share/transfer": {},
"/task/info": {},
"/activity/freeSpin/info": {},
"/promotions": {},
"/tg/luckyCode": {},
"/activity/sign/info": {},
"/ad/uploadFB": {},
"/activity/slots/info": {},
"/activity/sign/new/info": {},
"/activity/betDraw/info": {},
"/activity/betDraw/record": {},
"/activity/activityPopup/info": {},
"/customer/image/download": {},
"/firstpage": {},
"/game/list": {},
"/sys/config": {},
"/account/email/code": {},
"/account/email/regist": {},
"/account/email/login": {},
"/account/email/resetPass": {},
"/account/guestLogin": {},
"/account/gpLogin": {},
"/account/fbLogin": {},
"/account/tokenLogin": {},
"/account/phoneCode/get": {},
"/account/phoneCode/verify": {},
"/account/phoneCode/regist": {},
"/account/phoneCode/login": {},
"/share/upload": {},
"/share/config": {},
"/game/enter": {},
"/activity/appSpin/info": {},
"/activity/pdd/info": {},
"/account/phone/regist": {},
"/account/phone/login": {},
"/account/phone/resetPass": {},
"/balance/recharge/info": {},
"/share/info": {},
"/vip/info": {},
"/share/reference": {},
"/share/report": {},
"/share/transfer": {},
"/task/info": {},
"/activity/freeSpin/info": {},
"/promotions": {},
"/tg/luckyCode": {},
"/activity/sign/info": {},
"/ad/uploadFB": {},
"/activity/slots/info": {},
"/activity/sign/new/info": {},
"/activity/betDraw/info": {},
"/activity/betDraw/record": {},
"/activity/activityPopup/info": {},
"/customer/image/download": {},
"/activity/firstRechargeBack/info": {},
}
)

@ -46,6 +46,7 @@ type ActivityFreeSpinDrawResp struct {
type ActivityFirstRechargeBackInfoResp struct {
Recharge int64
Back int64
BackPer int64
CanRecharge bool
DrawTime int64 // 领取时间
ProductList []*common.ConfigPayProduct

Loading…
Cancel
Save