123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- 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"`
- }
- PlayerFetchMsgResp {
- List []interface{} `json:"list"`
- }
- PlayerSendMsgReq {
- Content string `json:"content"`
- Pic string `json:"pic"`
- }
- )
- type (
- CsFetchPlayerQueueReq {
- Limit int `json:"limit"`
- }
- CsFetchPlayerQueueResp {
- List []interface{} `json:"list"`
- }
- CsConnectPlayerReq {
- PlayerId string `json:"player_id"`
- GameId string `json:"game_id"`
- }
- CsFetchHistoryChatReq {
- Page int `json:"page"`
- Limit int `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 int `json:"page"`
- Limit int `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"`
- }
- CsFetchMsgResp {
- List []interface{} `json:"list"`
- }
- CsSendMsgReq {
- PlayerId string `json:"player_id"`
- GameId string `json:"game_id"`
- Content string `json:"content"`
- Pic string `json:"pic"`
- }
- )
|