package game import "github.com/gogf/gf/v2/frame/g" type AddNoticeReq struct { g.Meta `path:"/notice/add" tags:"维护公告" method:"post" summary:"维护公告"` Status int `p:"status"` Content string `p:"content"` Channel string `p:"channel"` NoticeType int `p:"noticeType"` Id int `p:"id"` } type AddNoticeRes struct { } type GetNoticeReq struct { g.Meta `path:"/notice/get" tags:"维护公告" method:"get" summary:"维护公告"` Channel string `p:"channel"` NoticeType int `p:"noticeType"` } type GetNoticeRes struct { g.Meta `mime:"application/json"` Status int `json:"status"` Content string `json:"content"` Id int `json:"id"` } type PopReq struct { g.Meta `path:"/notice/pop" tags:"弹窗公告" method:"post" summary:"弹窗公告"` Type int `p:"popType"` Uids string `p:"uids"` ServerId int `p:"serverId"` Content string `p:"content"` } type PopRes struct { } type GetGameNoticeReq struct { g.Meta `path:"/gamenotice/get" tags:"维护公告" method:"get" summary:"维护公告"` Channel string `p:"channel"` NoticeType int `p:"noticeType"` } type GetGameNoticeRes struct { g.Meta `mime:"application/json"` Status int `json:"status"` Content string `json:"content"` Id int `json:"id"` }