package game import ( "github.com/gogf/gf/v2/frame/g" ) type GetBazaarReq struct { g.Meta `path:"/bazaar/get" tags:"赶集" method:"get" summary:"获取赶集"` Year int32 `p:"Year"` Date int32 `p:"Date"` ServerId int `p:"serverId"` } type GetBazaarRes struct { g.Meta `mime:"application/json"` Bazaar []map[string]interface{} `json:"bazaar"` } type UpdateBazaarReq struct { g.Meta `path:"/bazaar/update" tags:"赶集" method:"post" summary:"更新赶集"` Bazaar map[string]interface{} `p:"bazaar"` } type UpdateBazaarRes struct { } type InsertBazaarReq struct { g.Meta `path:"/bazaar/insert" tags:"赶集" method:"post" summary:"添加赶集"` Bazaar map[string]interface{} `p:"bazaar"` } type InsertBazaarRes struct { } type InsertBatchBazaarReq struct { g.Meta `path:"/bazaar/insertBatch" tags:"赶集" method:"post" summary:"添加赶集"` Bazaars []map[string]interface{} `p:"bazaars"` } type InsertBatchBazaarRes struct { } type GetMonthlyLotteryReq struct { g.Meta `path:"/monthlyLottery/get" tags:"每月抽奖" method:"get" summary:"获取每月抽奖 -1为不限次数"` Date string `p:"Date"` } type GetMonthlyLotteryRes struct { g.Meta `mime:"application/json"` MonthlyLottery []map[string]interface{} `json:"monthlyEvent"` } type UpdateMonthlyLotteryReq struct { g.Meta `path:"/monthlyLottery/update" tags:"每月抽奖" method:"get" summary:"更新每月抽奖"` MonthlyLottery map[string]interface{} `p:"monthlyLottery"` } type UpdateMonthlyLotteryRes struct { } type InsertMonthlyLotteryReq struct { g.Meta `path:"/monthlyLottery/insert" tags:"每月抽奖" method:"get" summary:"添加每月抽奖"` MonthlyLottery map[string]interface{} `p:"monthlyLottery"` } type InsertMonthlyLotteryRes struct { } type GetPropExchangeReq struct { g.Meta `path:"/propExchange/get" tags:"道具兑换" method:"get" summary:"获取道具兑换"` Id int64 `p:"id"` Year string `p:"year"` } type GetPropExchangeRes struct { g.Meta `mime:"application/json"` PropExchange []map[string]interface{} `json:"propExchange"` } type UpdatePropExchangeReq struct { g.Meta `path:"/propExchange/update" tags:"道具兑换" method:"get" summary:"更新道具兑换"` PropExchange map[string]interface{} `p:"propExchange"` } type UpdatePropExchangeRes struct { } type InsertPropExchangeReq struct { g.Meta `path:"/propExchange/insert" tags:"道具兑换" method:"get" summary:"添加道具兑换"` PropExchange map[string]interface{} `p:"propExchange"` } type InsertPropExchangeRes struct { } type CheckPropExchangeReq struct { g.Meta `path:"/propExchange/check" tags:"道具兑换" method:"get" summary:"查询道具兑换"` PropExchange map[string]interface{} `p:"propExchange"` } type CheckPropExchangeRes struct { g.Meta `mime:"application/json"` PropExchange int64 `json:"propExchange"` }