修改获取游戏实名参数逻辑
This commit is contained in:
		
							parent
							
								
									2622e7c3c9
								
							
						
					
					
						commit
						d283be207b
					
				@ -165,7 +165,7 @@ func TestGetRealAuthBlackList(t *testing.T) {
 | 
			
		||||
	t.Log(isBlockOutIos)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// 获取实名黑名单
 | 
			
		||||
// 获取游戏实名参数
 | 
			
		||||
func TestGetGameRealAuthInfo(t *testing.T) {
 | 
			
		||||
	client, err := NewClient()
 | 
			
		||||
	if err != nil {
 | 
			
		||||
 | 
			
		||||
@ -398,24 +398,26 @@ type GetGameRealAuthInfoReq struct {
 | 
			
		||||
	GameId int64 `position:"Body" field:"game_id" default:"-" `
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type GetGameRealAuthInfoRespData struct {
 | 
			
		||||
	GroupName          string `json:"group_name"`
 | 
			
		||||
	GroupDescription   int    `json:"group_description"`
 | 
			
		||||
	VerifiedTime       string `json:"verified_time"`
 | 
			
		||||
	AreaProvince       string `json:"area_province"`
 | 
			
		||||
	VersionInfo        string `json:"version_info"`
 | 
			
		||||
	IsReal             int    `json:"is_real"`
 | 
			
		||||
	IsDirect           int    `json:"is_direct"`
 | 
			
		||||
	AuthChannel        string `json:"auth_channel"`
 | 
			
		||||
	StandbyAuthChannel string `json:"standby_auth_channel"`
 | 
			
		||||
	ProtectTime        int    `json:"protect_time"`
 | 
			
		||||
	GovIoReport        int    `json:"gov_io_report"`
 | 
			
		||||
	MinorBan           int    `json:"minor_ban"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
type GetGameRealAuthInfoResp struct {
 | 
			
		||||
	*responses.BaseResponse
 | 
			
		||||
	Code int    `json:"code"`
 | 
			
		||||
	Msg  string `json:"msg"`
 | 
			
		||||
	Data struct {
 | 
			
		||||
		GroupName          string `json:"group_name"`
 | 
			
		||||
		GroupDescription   int    `json:"group_description"`
 | 
			
		||||
		VerifiedTime       string `json:"verified_time"`
 | 
			
		||||
		AreaProvince       string `json:"area_province"`
 | 
			
		||||
		VersionInfo        string `json:"version_info"`
 | 
			
		||||
		IsReal             int    `json:"is_real"`
 | 
			
		||||
		IsDirect           int    `json:"is_direct"`
 | 
			
		||||
		AuthChannel        string `json:"auth_channel"`
 | 
			
		||||
		StandbyAuthChannel string `json:"standby_auth_channel"`
 | 
			
		||||
		ProtectTime        int    `json:"protect_time"`
 | 
			
		||||
		GovIoReport        int    `json:"gov_io_report"`
 | 
			
		||||
		MinorBan           int    `json:"minor_ban"`
 | 
			
		||||
	} `json:"data"`
 | 
			
		||||
	Code int                         `json:"code"`
 | 
			
		||||
	Msg  string                      `json:"msg"`
 | 
			
		||||
	Data GetGameRealAuthInfoRespData `json:"data"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func CreateGetGameRealAuthInfoReq(gameId int64) *GetGameRealAuthInfoReq {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user