add CommonMessage

This commit is contained in:
2020-03-04 15:40:07 +08:00
parent bc804b347c
commit ba256ce09d
+11
View File
@@ -0,0 +1,11 @@
package model
const (
GameMsgType int = iota
ChatMsgType
)
type CommonMsg struct {
MsgType int `json:"msg_type"`
Content interface{}
}