aa
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
const (
|
||||
MessageTypeStore = 1
|
||||
MessageTypeUser = 2
|
||||
@@ -41,12 +37,6 @@ func (*Message) TableIndex() [][]string {
|
||||
}
|
||||
}
|
||||
|
||||
type MessageActInfo struct {
|
||||
BeginAt time.Time `json:"beginAt"`
|
||||
EndAt time.Time `json:"endAt"`
|
||||
VendorID int `orm:"column(vendor_id)" json:"vendorID"`
|
||||
}
|
||||
|
||||
type MessageStatus struct {
|
||||
ModelIDCULD
|
||||
MessageID int `orm:"column(message_id)" json:"messageID"`
|
||||
@@ -64,6 +54,12 @@ func (*MessageStatus) TableIndex() [][]string {
|
||||
}
|
||||
}
|
||||
|
||||
type MessageActInfo struct {
|
||||
VendorID int `orm:"colmun(vendor_id)" json:"vendorID"`
|
||||
BeginAt string `json:"beginAt"`
|
||||
EndAt string `json:"endAt"`
|
||||
}
|
||||
|
||||
type ImMessageRecord struct {
|
||||
ModelIDCULD
|
||||
UserID string `orm:"size(48);column(user_id)" json:"userID"` //消息发送方userID
|
||||
|
||||
Reference in New Issue
Block a user