syntax = "v1" info( title: "用户操作实例" desc: "用户操作实例" author: "#Suyghur" ) type ( PlayerFetchCsInfoReq { CsId string `json:"cs_id"` } PlayerFetchCsInfoResp { CsId string `json:"cs_id"` CsNickname string `json:"cs_nickname"` CsAvatarUrl string `json:"cs_avatar_url"` CsSignature string `json:"cs_signature"` OnlineStatus int64 `json:"online_status"` } PlayerFetchHistoryMsgReq { Page int64 `json:"page"` Limit int64 `json:"limit"` } PlayerFetchHistoryMsgResp { TotalPage int64 `json:"total_page"` CurrentPage int64 `json:"current_page"` List []interface{} `json:"list"` } PlayerSendMsgReq { Content string `json:"content"` Pic string `json:"pic"` } ) type ( CsFetchPlayerQueueReq { Limit int64 `json:"limit"` } CsFetchPlayerQueueResp { List []interface{} `json:"list"` } CsConnectPlayerReq { GameId string `json:"game_id"` PlayerId string `json:"player_id"` } CsFetchHistoryChatReq { Page int64 `json:"page"` Limit int64 `json:"limit"` } CsFetchHistoryChatResp { TotalPage int64 `json:"total_page"` CurrentPage int64 `json:"current_page"` List []interface{} `json:"list"` } CsFetchHistoryMsgReq { GameId string `json:"game_id"` PlayerId string `json:"player_id"` Page int64 `json:"page"` Limit int64 `json:"limit"` } CsFetchHistoryMsgResp { TotalPage int64 `json:"total_page"` CurrentPage int64 `json:"current_page"` List []interface{} `json:"list"` } CsFetchMsgReq { GameId string `json:"game_id"` PlayerId string `json:"player_id"` } CsSendMsgReq { GameId string `json:"game_id"` PlayerId string `json:"player_id"` Content string `json:"content"` Pic string `json:"pic"` } )