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.
339 lines
8.1 KiB
339 lines
8.1 KiB
package web |
|
|
|
import ( |
|
"server/modules/web/app" |
|
"server/modules/web/values" |
|
) |
|
|
|
// swagger:route POST /activity/all activity idOfActivityAll |
|
// 获取所有活动信息 |
|
// Responses: |
|
// 200:GetAllActivityResp |
|
|
|
// swagger:response GetAllActivityResp |
|
type GetAllActivityResp struct { |
|
// in:body |
|
Body values.GetAllActivityResp |
|
} |
|
|
|
// swagger:route POST /activity/appSpin/info activity idOfActivityAppSpinInfo |
|
// 获取下载app奖励转盘信息 |
|
// Responses: |
|
// 200:GetActivityAppSpinInfoResp |
|
|
|
// swagger:response GetActivityAppSpinInfoResp |
|
type GetActivityAppSpinInfoResp struct { |
|
// in:body |
|
Body values.ActivityAppSpinInfoResp |
|
} |
|
|
|
// swagger:route POST /activity/appSpin/draw activity idOfActivityAppSpinDraw |
|
// 领取下载app奖励 |
|
// Responses: |
|
// 200:ActivityAppSpinDrawResp |
|
|
|
// swagger:response ActivityAppSpinDrawResp |
|
type ActivityAppSpinDrawResp struct { |
|
// in:body |
|
Body values.ActivityAppSpinDrawResp |
|
} |
|
|
|
// swagger:route POST /activity/pdd/info activity idOfActivityPddInfo |
|
// 拉取拼多多信息 |
|
// Responses: |
|
// 200:ActivityPddInfoResp |
|
|
|
// swagger:response ActivityPddInfoResp |
|
type ActivityPddInfoResp struct { |
|
// in:body |
|
Body values.ActivityPddInfoResp |
|
} |
|
|
|
// swagger:route POST /activity/pdd/spin activity idOfActivityPddSpin |
|
// 拼多多转盘 |
|
// Responses: |
|
// 200:ActivityPddSpinResp |
|
|
|
// swagger:response ActivityPddSpinResp |
|
type ActivityPddSpinResp struct { |
|
// in:body |
|
Body values.ActivityPddSpinResp |
|
} |
|
|
|
// swagger:route POST /activity/pdd/withdraw activity idOfActivityPddWithdraw |
|
// 拼多多 |
|
// Responses: |
|
// 200:ActivityPddWithdrawResp |
|
|
|
// swagger:response ActivityPddWithdrawResp |
|
type ActivityPddWithdrawResp struct { |
|
// in:body |
|
Body app.R |
|
} |
|
|
|
// swagger:route POST /activity/pdd/newReference activity idOfActivityPddNewReferenceReq |
|
// 拼多多新分享记录 |
|
// Responses: |
|
// 200:ActivityPddNewReferenceResp |
|
|
|
// swagger:response ActivityPddNewReferenceResp |
|
type ActivityPddNewReferenceResp struct { |
|
// in:body |
|
Body values.ActivityPddNewReferenceResp |
|
} |
|
|
|
// swagger:route POST /activity/pdd/reference activity idOfActivityPddReferenceReq |
|
// 拼多多分享记录 |
|
// Responses: |
|
// 200:ActivityPddReferenceResp |
|
|
|
// swagger:response ActivityPddReferenceResp |
|
type ActivityPddReferenceResp struct { |
|
// in:body |
|
Body values.ActivityPddReferenceResp |
|
} |
|
|
|
// swagger:parameters idOfActivityPddReferenceReq |
|
type ActivityPddReferenceReq struct { |
|
// in:body |
|
Body values.ActivityPddReferenceReq |
|
} |
|
|
|
// swagger:route POST /activity/freeSpin/info activity idOfActivityFreeSpinInfo |
|
// 获取免费转盘信息 |
|
// Responses: |
|
// 200:ActivityFreeSpinInfoResp |
|
|
|
// swagger:response ActivityFreeSpinInfoResp |
|
type ActivityFreeSpinInfoResp struct { |
|
// in:body |
|
Body values.ActivityFreeSpinInfoResp |
|
} |
|
|
|
// swagger:route POST /activity/freeSpin/draw activity idOfActivityFreeSpinDraw |
|
// 领取免费转盘奖励 |
|
// Responses: |
|
// 200:ActivityFreeSpinDrawResp |
|
|
|
// swagger:response ActivityFreeSpinDrawResp |
|
type ActivityFreeSpinDrawResp struct { |
|
// in:body |
|
Body values.ActivityFreeSpinDrawResp |
|
} |
|
|
|
// swagger:route POST /activity/firstRechargeBack/info activity idOfFirstRechargeBackInfoReq |
|
// 首充返还活动 |
|
// Responses: |
|
// 200:ActivityFirstRechargeBackInfoResp |
|
|
|
// swagger:response ActivityFirstRechargeBackInfoResp |
|
type ActivityFirstRechargeBackInfoResp struct { |
|
// in:body |
|
Body values.ActivityFirstRechargeBackInfoResp |
|
} |
|
|
|
// swagger:route POST /activity/firstRechargeBack/draw activity idOfFirstRechargeBackDrawReq |
|
// 领取首充返还活动 |
|
// Responses: |
|
// 200:ActivityFirstRechargeBackDrawResp |
|
|
|
// swagger:response ActivityFirstRechargeBackDrawResp |
|
type ActivityFirstRechargeBackDrawResp struct { |
|
// in:body |
|
Body app.R |
|
} |
|
|
|
// swagger:route POST /activity/luckyCode/info activity idOfLuckyCodeInfoReq |
|
// 兑换码活动 |
|
// Responses: |
|
// 200:ActivityLuckyCodeInfoResp |
|
|
|
// swagger:response ActivityLuckyCodeInfoResp |
|
type ActivityLuckyCodeInfoResp struct { |
|
// in:body |
|
Body values.ActivityLuckyCodeInfoResp |
|
} |
|
|
|
// swagger:route POST /activity/luckyCode/draw activity idOfLuckyCodeDrawReq |
|
// 领取兑换码活动 |
|
// Responses: |
|
// 200:ActivityLuckyCodeDrawResp |
|
|
|
// swagger:response ActivityLuckyCodeDrawResp |
|
type ActivityLuckyCodeDrawResp struct { |
|
// in:body |
|
Body values.ActivityLuckyCodeDrawResp |
|
} |
|
|
|
// swagger:parameters idOfLuckyCodeDrawReq |
|
type ActivityLuckyCodeDrawReq struct { |
|
// in:body |
|
Body values.ActivityLuckyCodeDrawReq |
|
} |
|
|
|
// swagger:route POST /activity/sign/info activity idOfSignInfoReq |
|
// 签到活动 |
|
// Responses: |
|
// 200:ActivitySignInfoResp |
|
|
|
// swagger:response ActivitySignInfoResp |
|
type ActivitySignInfoResp struct { |
|
// in:body |
|
Body values.ActivitySignInfoResp |
|
} |
|
|
|
// swagger:route POST /activity/sign/draw activity idOfSignDrawReq |
|
// 兑换码活动 |
|
// Responses: |
|
// |
|
// 200:ActivitySignDrawResp |
|
|
|
// swagger:response ActivitySignDrawResp |
|
type ActivitySignDrawResp struct { |
|
// in:body |
|
Body app.R |
|
} |
|
|
|
// swagger:route POST /activity/breakGift/info activity idOfActivityBreakGiftReq |
|
// 破产礼包活动 |
|
// Responses: |
|
// |
|
// 200:ActivityBreakGiftInfoResp |
|
|
|
// swagger:response ActivityBreakGiftInfoResp |
|
type ActivityBreakGiftInfoResp struct { |
|
// in:body |
|
Body values.ActivityBreakGiftInfoResp |
|
} |
|
|
|
// swagger:route POST /activity/weekCard/info activity idOfActivityWeekCardInfoReq |
|
// 周卡活动 |
|
// Responses: |
|
// |
|
// 200:ActivityWeekCardInfoResp |
|
|
|
// swagger:response ActivityWeekCardInfoResp |
|
type ActivityWeekCardInfoResp struct { |
|
// in:body |
|
Body values.ActivityWeekCardInfoResp |
|
} |
|
|
|
// swagger:route POST /activity/weekCard/draw activity idOfActivityWeekCardDrawReq |
|
// 周卡活动 |
|
// Responses: |
|
// |
|
// 200:ActivityWeekCardDrawResp |
|
|
|
// swagger:response ActivityWeekCardDrawResp |
|
type ActivityWeekCardDrawResp struct { |
|
// in:body |
|
Body values.ActivityWeekCardDrawResp |
|
} |
|
|
|
// swagger:parameters idOfActivityWeekCardDrawReq |
|
type ActivityWeekCardDrawReq struct { |
|
// in:body |
|
Body values.ActivityWeekCardDrawReq |
|
} |
|
|
|
// swagger:route POST /activity/slots/info activity idOfActivitySlotsInfoReq |
|
// slots奖池活动 |
|
// Responses: |
|
// |
|
// 200:ActivitySlotsInfoResp |
|
|
|
// swagger:response ActivitySlotsInfoResp |
|
type ActivitySlotsInfoResp struct { |
|
// in:body |
|
Body values.ActivitySlotsResp |
|
} |
|
|
|
// swagger:route POST /activity/slots/draw activity idOfActivitySlotsDrawReq |
|
// slots奖池活动 |
|
// Responses: |
|
// |
|
// 200:ActivitySlotsDrawResp |
|
|
|
// swagger:response ActivitySlotsDrawResp |
|
type ActivitySlotsDrawResp struct { |
|
// in:body |
|
Body values.ActivitySlotsDrawResp |
|
} |
|
|
|
// swagger:route POST /activity/slots/drawLast activity idOfActivitySlotsDrawLastReq |
|
// slots奖池活动领取昨日奖励 |
|
// Responses: |
|
// |
|
// 200:ActivitySlotsDrawLastResp |
|
|
|
// swagger:response ActivitySlotsDrawLastResp |
|
type ActivitySlotsDrawLastResp struct { |
|
// in:body |
|
Body values.ActivitySlotsDrawLastResp |
|
} |
|
|
|
// swagger:route POST /activity/luckyShop/info activity idOfActivityLuckyShopInfoReq |
|
// 幸运商店活动 |
|
// Responses: |
|
// |
|
// 200:ActivityLuckShopInfoResp |
|
|
|
// swagger:response ActivityLuckShopInfoResp |
|
type ActivityLuckShopInfoResp struct { |
|
// in:body |
|
Body values.ActivityLuckyShopResp |
|
} |
|
|
|
// swagger:route POST /activity/sevenDayBox/info activity idOfActivitySevenDayBoxInfoReq |
|
// 7日签到宝箱信息 |
|
// Responses: |
|
// |
|
// 200:ActivitySevenDayBoxInfoResp |
|
|
|
// swagger:response ActivitySevenDayBoxInfoResp |
|
type ActivitySevenDayBoxInfoResp struct { |
|
// in:body |
|
Body values.ActivitySevenDayBoxInfoResp |
|
} |
|
|
|
// swagger:route POST /activity/sevenDayBox/draw activity idOfActivitySevenDayBoxDrawReq |
|
// 7日签到宝箱领取奖励 |
|
// Responses: |
|
// |
|
// 200:ActivitySevenDayBoxDrawResp |
|
|
|
// swagger:response ActivitySevenDayBoxDrawResp |
|
type ActivitySevenDayBoxDrawResp struct { |
|
// in:body |
|
Body values.ActivitySevenDayBoxDrawResp |
|
} |
|
|
|
// swagger:route POST /activity/super/info activity idOfActivitySuperInfoReq |
|
// 超级1+2活动信息 |
|
// Responses: |
|
// |
|
// 200:ActivitySuperInfoResp |
|
|
|
// swagger:response ActivitySuperInfoResp |
|
type ActivitySuperInfoResp struct { |
|
// in:body |
|
Body values.ActivitySuperInfoResp |
|
} |
|
|
|
// swagger:route POST /activity/super/draw activity idOfActivitySuperDrawReq |
|
// 超级1+2开奖池 |
|
// Responses: |
|
// |
|
// 200:ActivitySuperDrawResp |
|
|
|
// swagger:response ActivitySuperDrawResp |
|
type ActivitySuperDrawResp struct { |
|
// in:body |
|
Body values.ActivitySuperDrawResp |
|
} |
|
|
|
// swagger:parameters idOfActivitySuperDrawReq |
|
type ActivitySuperDrawReq struct { |
|
// in:body |
|
Body values.ActivitySuperDrawResp |
|
}
|
|
|