You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
912 B
52 lines
912 B
|
1 year ago
|
package web
|
||
|
|
|
||
|
|
import (
|
||
|
|
"server/modules/web/app"
|
||
|
|
"server/modules/web/values"
|
||
|
|
)
|
||
|
|
|
||
|
|
// swagger:route POST /vip/info vip idOfGetVipInfo
|
||
|
|
// vip信息
|
||
|
|
// Responses:
|
||
|
|
// 200:GetVipInfoResp
|
||
|
|
|
||
|
|
// swagger:response GetVipInfoResp
|
||
|
|
type GetVipInfoResp struct {
|
||
|
|
// in:body
|
||
|
|
Body values.VipInfoResp
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:parameters idOfGetVipInfo
|
||
|
|
type GetVipInfoReq struct {
|
||
|
|
// in:body
|
||
|
|
Body values.VipInfoReq
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:route POST /vip/drawBonus vip idOfDrawBonus
|
||
|
|
// vip领取bonus
|
||
|
|
// Responses:
|
||
|
|
// 200:DrawBonusResp
|
||
|
|
|
||
|
|
// swagger:response DrawBonusResp
|
||
|
|
type DrawBonusResp struct {
|
||
|
|
// in:body
|
||
|
|
Body app.R
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:parameters idOfDrawBonus
|
||
|
|
type DrawBonusReq struct {
|
||
|
|
// in:body
|
||
|
|
Body values.DrawVipBonusReq
|
||
|
|
}
|
||
|
|
|
||
|
|
// swagger:route POST /vip/drawCashback vip idOfDrawCashback
|
||
|
|
// vip领取cashback
|
||
|
|
// Responses:
|
||
|
|
// 200:DrawCashbackResp
|
||
|
|
|
||
|
|
// swagger:response DrawCashbackResp
|
||
|
|
type DrawCashbackResp struct {
|
||
|
|
// in:body
|
||
|
|
Body app.R
|
||
|
|
}
|