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