12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- 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 {
- PlayerId string `json:"player_id"`
- GameId string `json:"game_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 {
- PlayerId string `json:"player_id"`
- GameId string `json:"game_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 {
- PlayerId string `json:"player_id"`
- GameId string `json:"game_id"`
- }
- CsSendMsgReq {
- PlayerId string `json:"player_id"`
- GameId string `json:"game_id"`
- Content string `json:"content"`
- Pic string `json:"pic"`
- }
- )
|