aa
This commit is contained in:
@@ -130,6 +130,13 @@ var (
|
||||
VendorIDJDShop: "http://image.jxc4.com/image/7c43ebbcbdbc0ef31fe028f680c0a7e3.tem.png",
|
||||
}
|
||||
|
||||
VendorColors = map[int]string{
|
||||
VendorIDJD: "#3CC518",
|
||||
VendorIDMTWM: "#FFB14A",
|
||||
VendorIDEBAI: "#E43428",
|
||||
VendorIDJDShop: "#51A7FC",
|
||||
}
|
||||
|
||||
VendorInfoMap = map[int]*VendorInfo{
|
||||
VendorIDJD: &VendorInfo{
|
||||
Name: "京东到家",
|
||||
|
||||
@@ -66,6 +66,7 @@ type ImMessageRecord struct {
|
||||
Seq int `json:"seq"`
|
||||
Weight int `json:"weight"`
|
||||
Height int `json:"height"`
|
||||
// UnReadFlag int `json:"unReadFlag"` //未读标志,为1则此条消息未读
|
||||
|
||||
UserInfo *GetUserResult `orm:"-" json:"userInfo"`
|
||||
}
|
||||
@@ -110,3 +111,17 @@ func (*MessageGroupMember) TableIndex() [][]string {
|
||||
[]string{"MemberUserID"},
|
||||
}
|
||||
}
|
||||
|
||||
type MessageGroupRead struct {
|
||||
ModelIDCUL
|
||||
|
||||
GroupID int `orm:"column(group_id)" json:"groupID"` //组ID
|
||||
UserID string `orm:"size(48);column(user_id)" json:"userID"` //创建组的userID
|
||||
UnReadCount int `json:"unReadCount"` //未读数
|
||||
}
|
||||
|
||||
func (*MessageGroupRead) TableIndex() [][]string {
|
||||
return [][]string{
|
||||
[]string{"UserID", "GroupID"},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user