用户发送消息
This commit is contained in:
@@ -2,6 +2,7 @@ package model
|
||||
|
||||
const (
|
||||
MessageTypeStore = 1
|
||||
MessageTypeUser = 2
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -36,10 +37,11 @@ func (*Message) TableIndex() [][]string {
|
||||
|
||||
type MessageStatus struct {
|
||||
ModelIDCULD
|
||||
MessageID int `orm:"column(message_id)" json:"messageID"`
|
||||
StoreID int `orm:"column(store_id)" json:"storeID"`
|
||||
Status int8 `json:"status"`
|
||||
ReadCount int `json:"readCount"`
|
||||
MessageID int `orm:"column(message_id)" json:"messageID"`
|
||||
StoreID int `orm:"column(store_id)" json:"storeID"`
|
||||
Status int8 `json:"status"`
|
||||
ReadCount int `json:"readCount"`
|
||||
UserID string `orm:"column(user_id)" json:"userID"`
|
||||
}
|
||||
|
||||
func (*MessageStatus) TableIndex() [][]string {
|
||||
|
||||
Reference in New Issue
Block a user