接口返回数据

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.ProductList = call.GetConfigPayProductByActivityID(common.ActivityIDFirstRechargeBack)
resp.Recharge = data.Amount resp.Recharge = data.Amount
resp.BackPer = conf.MaxBack
if data.Amount < conf.MinRecharge { if data.Amount < conf.MinRecharge {
return return
} }

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

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

Loading…
Cancel
Save