You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package controller
|
|
|
|
|
|
|
|
type Response struct {
|
|
|
|
Code int `json:"code"`
|
|
|
|
Msg string `json:"msg"`
|
|
|
|
result interface{} `json:"result"`
|
|
|
|
}
|
|
|
|
type ChatMessage struct {
|
|
|
|
Time string `json:"time"`
|
|
|
|
Content string `json:"content"`
|
|
|
|
MesType string `json:"mes_type"`
|
|
|
|
Name string `json:"name"`
|
|
|
|
Avator string `json:"avator"`
|
|
|
|
}
|
|
|
|
type VisitorOnline struct {
|
|
|
|
Uid string `json:"uid"`
|
|
|
|
Username string `json:"username"`
|
|
|
|
Avator string `json:"avator"`
|
|
|
|
LastMessage string `json:"last_message"`
|
|
|
|
}
|