Merge branch 'refs/heads/develop/yuxh/game'
This commit is contained in:
		
						commit
						a329d30296
					
				@ -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"`
 | 
			
		||||
@ -270,7 +296,7 @@ type GetGameVersionResp struct {
 | 
			
		||||
	*responses.BaseResponse
 | 
			
		||||
	Code int         `json:"code"`
 | 
			
		||||
	Msg  string      `json:"msg"`
 | 
			
		||||
	Data GameVersionInfo `json:"data"`
 | 
			
		||||
	Data GameVersion `json:"data"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func CreateGetGameVersionReq(gameId int, gameVersion string) *GetGameVersionReq {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user