mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-24 10:22:36 +08:00
user
This commit is contained in:
parent
6f3b4a9f02
commit
d5b8c32433
@ -19,7 +19,7 @@ mysql:
|
|||||||
dbMaxOpenConns: 100
|
dbMaxOpenConns: 100
|
||||||
dbMaxIdleConns: 10
|
dbMaxIdleConns: 10
|
||||||
dbMaxLifeTime: 5
|
dbMaxLifeTime: 5
|
||||||
logLevel: 6 #1=slient 2=error 3=warn 4=info
|
logLevel: 4 #1=slient 2=error 3=warn 4=info
|
||||||
slowThreshold: 500
|
slowThreshold: 500
|
||||||
|
|
||||||
mongo:
|
mongo:
|
||||||
|
@ -17,6 +17,7 @@ func UsersDB2Pb(users []*relationTb.UserModel) (result []*sdkws.UserInfo) {
|
|||||||
userPb.CreateTime = user.CreateTime.Unix()
|
userPb.CreateTime = user.CreateTime.Unix()
|
||||||
userPb.AppMangerLevel = user.AppMangerLevel
|
userPb.AppMangerLevel = user.AppMangerLevel
|
||||||
userPb.GlobalRecvMsgOpt = user.GlobalRecvMsgOpt
|
userPb.GlobalRecvMsgOpt = user.GlobalRecvMsgOpt
|
||||||
|
result = append(result, &userPb)
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user