message加字段
This commit is contained in:
@@ -56,6 +56,7 @@ type ImMessageRecord struct {
|
||||
Content string `orm:"type(text)" json:"content"` //消息内容
|
||||
MessageType int `json:"messageType"` //消息类型,文字,图片
|
||||
StoreID int `orm:"column(store_id)" json:"storeID"`
|
||||
VendorID int `orm:"column(vendor_id)" json:"vendorID"`
|
||||
VendorOrderID string `orm:"column(vendor_order_id);size(48)" json:"vendorOrderID"`
|
||||
}
|
||||
|
||||
@@ -64,6 +65,7 @@ func (*ImMessageRecord) TableIndex() [][]string {
|
||||
[]string{"UserID"},
|
||||
[]string{"ReceiveID"},
|
||||
[]string{"StoreID"},
|
||||
[]string{"VendorID"},
|
||||
[]string{"VendorOrderID"},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user