user add global set message recv opt

pull/455/head
Gordon 2 years ago committed by Xinwei Xiong(cubxxw-openim)
parent 3a04780aec
commit 0c7d6022ca

@ -13,6 +13,7 @@ type ApiUserInfo struct {
PhoneNumber string `json:"phoneNumber" binding:"omitempty,max=32"`
Birth uint32 `json:"birth" binding:"omitempty"`
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"`
}

@ -158,6 +158,7 @@ type User struct {
Ex string `gorm:"column:ex;size:1024"`
CreateTime time.Time `gorm:"column:create_time"`
AppMangerLevel int32 `gorm:"column:app_manger_level"`
GlobalRecvMsgOpt int32 `gorm:"column:global_recv_msg_opt"`
}
//message BlackInfo{

File diff suppressed because it is too large Load Diff

@ -54,6 +54,7 @@ message UserInfo{
string ex = 8;
uint32 createTime = 9;
int32 appMangerLevel = 10;
int32 globalRecvMsgOpt = 11;
}
message FriendInfo{

Loading…
Cancel
Save