diff --git a/services/game/game.go b/services/game/game.go index f22ea4d..6d42791 100644 --- a/services/game/game.go +++ b/services/game/game.go @@ -260,6 +260,32 @@ func CreateGetGameCompanyResp() *GetGameCompanyResp { // ==== 获取游戏客户端版本配置 +type GameVersion struct { + ID int `json:"id"` + GameID int `json:"game_id"` + GameVersion string `json:"version"` + GameURL string `json:"url"` + PayCallbackURL string `json:"pay_callback_url"` + DomainURL string `json:"domain_url"` + Status int `json:"status"` + H5Version int `json:"h5_version"` + H5Status int `json:"h5_status"` + IsH5Logout int `json:"is_h5_logout"` + HideWindow int `json:"hidewindow"` + PayInfo PayInfo `json:"pay_display_info"` + IsYsdk int `json:"is_ysdk"` + CheckVerified int `json:"check_verified"` + Company string `json:"company"` + CompanyKf string `json:"company_kf"` + CompanyProto string `json:"company_proto"` + CompanySms string `json:"company_sms"` + KfStatus int `json:"kf_status"` + PopupTime int `json:"popup_time"` + ExtData map[string]any `json:"ext_data"` + VersionStatus int `json:"version_status"` + VersionTime int `json:"version_time"` +} + type GetGameVersionReq struct { *requests.RpcRequest GameId int `position:"Body" field:"game_id"` @@ -268,9 +294,9 @@ type GetGameVersionReq struct { type GetGameVersionResp struct { *responses.BaseResponse - Code int `json:"code"` - Msg string `json:"msg"` - Data GameVersionInfo `json:"data"` + Code int `json:"code"` + Msg string `json:"msg"` + Data GameVersion `json:"data"` } func CreateGetGameVersionReq(gameId int, gameVersion string) *GetGameVersionReq {