Merge branch 'master' of https://golib.gaore.com/GaoreGo/gaore-common-sdk-go
This commit is contained in:
commit
5a8de98af3
@ -13,11 +13,13 @@ type GetLoginInfoByIdReq struct {
|
||||
UserName string `position:"Body" field:"uname"`
|
||||
}
|
||||
|
||||
type GetLoginInfoByIdResp struct {
|
||||
*responses.BaseResponse
|
||||
Code int `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
Data struct {
|
||||
type PayInfo struct {
|
||||
HiddenAlipay int `json:"hide_alipay"`
|
||||
HiddenWx int `json:"hide_wx"`
|
||||
HiddenUnionPay int `json:"hide_union_pay"`
|
||||
}
|
||||
|
||||
type GameVersionInfo struct {
|
||||
AppName string `json:"app_name"`
|
||||
AppID string `json:"app_id"`
|
||||
LoginURL string `json:"login_url"`
|
||||
@ -29,25 +31,27 @@ type GetLoginInfoByIdResp struct {
|
||||
GameVersion string `json:"version"`
|
||||
GameSign string `json:"game_sign"`
|
||||
GameSignName string `json:"game_sign_name"`
|
||||
GameSignID string `json:"game_sign_id"`
|
||||
GameSignID int `json:"game_sign_id"`
|
||||
IsYsdk int `json:"is_ysdk"`
|
||||
Company string `json:"company"`
|
||||
CompanyKf string `json:"company_kf"`
|
||||
CompanyProto string `json:"company_proto"`
|
||||
CompanySms string `json:"company_sms"`
|
||||
KfStatus string `json:"kf_status"`
|
||||
KfStatus int `json:"kf_status"`
|
||||
PopupTime int `json:"popup_time"`
|
||||
PayInfo struct {
|
||||
HiddenAlipay int `json:"hide_alipay"`
|
||||
HiddenWx int `json:"hide_wx"`
|
||||
HiddenUnionPay int `json:"hide_union_pay"`
|
||||
} `json:"pay_info"`
|
||||
GameID string `json:"game_id"`
|
||||
ScreenType string `json:"screen_type"`
|
||||
GameId int `json:"game_id"`
|
||||
ScreenType int `json:"screen_type"`
|
||||
GameSwitch int `json:"game_switch"` // 根据上下文,0 或 1 的整数表示布尔值
|
||||
ExtData map[string]any `json:"ext_data"`
|
||||
OsName string `json:"os_name"`
|
||||
} `json:"data"`
|
||||
PayInfo PayInfo `json:"pay_info"`
|
||||
}
|
||||
|
||||
type GetLoginInfoByIdResp struct {
|
||||
*responses.BaseResponse
|
||||
Code int `json:"code"`
|
||||
Msg string `json:"msg"`
|
||||
Data GameVersionInfo `json:"data"`
|
||||
}
|
||||
|
||||
func CreateGetLoginInfoByIdReq(gameId int, gameVersion string) *GetLoginInfoByIdReq {
|
||||
|
Loading…
Reference in New Issue
Block a user