| 
									
										
										
										
											2025-05-02 21:28:24 +08:00
										 |  |  | package game | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import ( | 
					
						
							|  |  |  | 	"golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" | 
					
						
							|  |  |  | 	"golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/responses" | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | type GetProtocolByGameIdRep struct { | 
					
						
							|  |  |  | 	*requests.RpcRequest | 
					
						
							|  |  |  | 	GameId      int    `position:"Query" field:"game_id"` | 
					
						
							|  |  |  | 	GameVersion string `position:"Query" field:"game_version"` | 
					
						
							|  |  |  | 	Type        int    `position:"Query" field:"type"` | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | type GetProtocolByGameIdResp struct { | 
					
						
							|  |  |  | 	*responses.BaseResponse | 
					
						
							|  |  |  | 	Code int    `json:"code"` | 
					
						
							|  |  |  | 	Msg  string `json:"msg"` | 
					
						
							|  |  |  | 	Data struct { | 
					
						
							|  |  |  | 		Content string `json:"content"` | 
					
						
							|  |  |  | 	} `json:"data"` | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | func CreateGetProtocolByGameIdRep() *GetProtocolByGameIdRep { | 
					
						
							|  |  |  | 	req := &GetProtocolByGameIdRep{ | 
					
						
							|  |  |  | 		RpcRequest: &requests.RpcRequest{}, | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | 	req.InitWithApiInfo(HOST, VERSION, "/api/news/getProtocolByGameId") | 
					
						
							|  |  |  | 	req.Method = requests.GET | 
					
						
							|  |  |  | 	return req | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | func CreateGetProtocolByGameIdResp() *GetProtocolByGameIdResp { | 
					
						
							|  |  |  | 	return &GetProtocolByGameIdResp{ | 
					
						
							|  |  |  | 		BaseResponse: &responses.BaseResponse{}, | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2025-08-15 17:41:18 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | type GetProtocolByCompanyRep struct { | 
					
						
							|  |  |  | 	*requests.RpcRequest | 
					
						
							|  |  |  | 	Company string `position:"Query" field:"company"` | 
					
						
							|  |  |  | 	Type    int    `position:"Query" field:"type"` | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | type GetProtocolByCompanyResp struct { | 
					
						
							|  |  |  | 	*responses.BaseResponse | 
					
						
							|  |  |  | 	Code int    `json:"code"` | 
					
						
							|  |  |  | 	Msg  string `json:"msg"` | 
					
						
							|  |  |  | 	Data struct { | 
					
						
							|  |  |  | 		Content string `json:"content"` | 
					
						
							|  |  |  | 	} `json:"data"` | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | func CreateGetProtocolByCompanyRep() *GetProtocolByCompanyRep { | 
					
						
							|  |  |  | 	req := &GetProtocolByCompanyRep{ | 
					
						
							|  |  |  | 		RpcRequest: &requests.RpcRequest{}, | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | 	req.InitWithApiInfo(HOST, VERSION, "/api/news/getProtocolByCompany") | 
					
						
							|  |  |  | 	req.Method = requests.GET | 
					
						
							|  |  |  | 	return req | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | func CreateGetProtocolByCompanyResp() *GetProtocolByCompanyResp { | 
					
						
							|  |  |  | 	return &GetProtocolByCompanyResp{ | 
					
						
							|  |  |  | 		BaseResponse: &responses.BaseResponse{}, | 
					
						
							|  |  |  | 	} | 
					
						
							|  |  |  | } |