mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-01 07:03:15 +08:00
user add global set message recv opt
This commit is contained in:
parent
3a04780aec
commit
0c7d6022ca
@ -13,6 +13,7 @@ type ApiUserInfo struct {
|
|||||||
PhoneNumber string `json:"phoneNumber" binding:"omitempty,max=32"`
|
PhoneNumber string `json:"phoneNumber" binding:"omitempty,max=32"`
|
||||||
Birth uint32 `json:"birth" binding:"omitempty"`
|
Birth uint32 `json:"birth" binding:"omitempty"`
|
||||||
Email string `json:"email" binding:"omitempty,max=64"`
|
Email string `json:"email" binding:"omitempty,max=64"`
|
||||||
|
GlobalRecvMsgOpt int32 `json:"globalRecvMsgOpt" binding:"omitempty,oneof=0 1 2"`
|
||||||
Ex string `json:"ex" binding:"omitempty,max=1024"`
|
Ex string `json:"ex" binding:"omitempty,max=1024"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -158,6 +158,7 @@ type User struct {
|
|||||||
Ex string `gorm:"column:ex;size:1024"`
|
Ex string `gorm:"column:ex;size:1024"`
|
||||||
CreateTime time.Time `gorm:"column:create_time"`
|
CreateTime time.Time `gorm:"column:create_time"`
|
||||||
AppMangerLevel int32 `gorm:"column:app_manger_level"`
|
AppMangerLevel int32 `gorm:"column:app_manger_level"`
|
||||||
|
GlobalRecvMsgOpt int32 `gorm:"column:global_recv_msg_opt"`
|
||||||
}
|
}
|
||||||
|
|
||||||
//message BlackInfo{
|
//message BlackInfo{
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -54,6 +54,7 @@ message UserInfo{
|
|||||||
string ex = 8;
|
string ex = 8;
|
||||||
uint32 createTime = 9;
|
uint32 createTime = 9;
|
||||||
int32 appMangerLevel = 10;
|
int32 appMangerLevel = 10;
|
||||||
|
int32 globalRecvMsgOpt = 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
message FriendInfo{
|
message FriendInfo{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user