From 92f4a59e1701dd002c937767002761de079e9957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 11 Dec 2020 14:39:25 +0800 Subject: [PATCH] aa --- business/jxstore/event/event.go | 1 + business/model/message.go | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/business/jxstore/event/event.go b/business/jxstore/event/event.go index 21122f705..d64e17656 100644 --- a/business/jxstore/event/event.go +++ b/business/jxstore/event/event.go @@ -18,6 +18,7 @@ var ( NoUseEventMap = map[string]string{ "CreateQrOrBarCode": "CreateQrOrBarCode", "StatisticsReportForOrders": "StatisticsReportForOrders", + "UpdateUser": "UpdateUser", } regexpToken = regexp.MustCompile(`,"token":".*"`) ) diff --git a/business/model/message.go b/business/model/message.go index 546e3b758..d380a3427 100644 --- a/business/model/message.go +++ b/business/model/message.go @@ -59,16 +59,16 @@ func (*MessageStatus) TableIndex() [][]string { type ImMessageRecord struct { ModelIDCULD - UserID string `orm:"size(48);column(user_id)" json:"userID"` //发消息的userID - GroupID int `orm:"column(group_id)" json:"groupID"` //组ID - Content string `orm:"type(text)" json:"content"` //消息内容 - MessageType int `json:"messageType"` //消息类型,文字,图片 - Seq int `json:"seq"` - Weight int `json:"weight"` - Height int `json:"height"` - // UnReadFlag int `json:"unReadFlag"` //未读标志,为1则此条消息未读 - Key string `orm:"-" json:"key"` - UserInfo *GetUserResult `orm:"-" json:"userInfo"` + UserID string `orm:"size(48);column(user_id)" json:"userID"` //发消息的userID + GroupID int `orm:"column(group_id)" json:"groupID"` //组ID + Content string `orm:"type(text)" json:"content"` //消息内容 + MessageType int `json:"messageType"` //消息类型,1文字,2图片,3音频 + Seq int `json:"seq"` + Weight int `json:"weight"` + Height int `json:"height"` + Audio []byte `orm:"type(blob)" json:"audio"` + Key string `orm:"-" json:"key"` + UserInfo *GetUserResult `orm:"-" json:"userInfo"` } func (*ImMessageRecord) TableIndex() [][]string {