aa
This commit is contained in:
@@ -18,6 +18,7 @@ var (
|
|||||||
NoUseEventMap = map[string]string{
|
NoUseEventMap = map[string]string{
|
||||||
"CreateQrOrBarCode": "CreateQrOrBarCode",
|
"CreateQrOrBarCode": "CreateQrOrBarCode",
|
||||||
"StatisticsReportForOrders": "StatisticsReportForOrders",
|
"StatisticsReportForOrders": "StatisticsReportForOrders",
|
||||||
|
"UpdateUser": "UpdateUser",
|
||||||
}
|
}
|
||||||
regexpToken = regexp.MustCompile(`,"token":".*"`)
|
regexpToken = regexp.MustCompile(`,"token":".*"`)
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -59,16 +59,16 @@ func (*MessageStatus) TableIndex() [][]string {
|
|||||||
type ImMessageRecord struct {
|
type ImMessageRecord struct {
|
||||||
ModelIDCULD
|
ModelIDCULD
|
||||||
|
|
||||||
UserID string `orm:"size(48);column(user_id)" json:"userID"` //发消息的userID
|
UserID string `orm:"size(48);column(user_id)" json:"userID"` //发消息的userID
|
||||||
GroupID int `orm:"column(group_id)" json:"groupID"` //组ID
|
GroupID int `orm:"column(group_id)" json:"groupID"` //组ID
|
||||||
Content string `orm:"type(text)" json:"content"` //消息内容
|
Content string `orm:"type(text)" json:"content"` //消息内容
|
||||||
MessageType int `json:"messageType"` //消息类型,文字,图片
|
MessageType int `json:"messageType"` //消息类型,1文字,2图片,3音频
|
||||||
Seq int `json:"seq"`
|
Seq int `json:"seq"`
|
||||||
Weight int `json:"weight"`
|
Weight int `json:"weight"`
|
||||||
Height int `json:"height"`
|
Height int `json:"height"`
|
||||||
// UnReadFlag int `json:"unReadFlag"` //未读标志,为1则此条消息未读
|
Audio []byte `orm:"type(blob)" json:"audio"`
|
||||||
Key string `orm:"-" json:"key"`
|
Key string `orm:"-" json:"key"`
|
||||||
UserInfo *GetUserResult `orm:"-" json:"userInfo"`
|
UserInfo *GetUserResult `orm:"-" json:"userInfo"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (*ImMessageRecord) TableIndex() [][]string {
|
func (*ImMessageRecord) TableIndex() [][]string {
|
||||||
|
|||||||
Reference in New Issue
Block a user