聊天记录表
This commit is contained in:
@@ -48,3 +48,13 @@ func (*MessageStatus) TableIndex() [][]string {
|
||||
[]string{"StoreID", "MessageID", "Status"},
|
||||
}
|
||||
}
|
||||
|
||||
type ImMessageRecord struct {
|
||||
ModelIDCULD
|
||||
UserID string `orm:"size(48);column(user_id)" json:"userID"` //消息发送方userID
|
||||
Receive string `json:"receive"` //接收方ID,可以是userID,也可以是群ID
|
||||
Content string `orm:"type(text)" json:"content"` //消息内容
|
||||
MessageType int `json:"messageType"` //消息类型,文字,图片
|
||||
StoreID int `orm:"column(store_id)" json:"storeID"`
|
||||
VendorOrderID string `orm:"column(vendor_order_id);size(48)" json:"vendorOrderID"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user