mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
redis replace go redis
This commit is contained in:
parent
31e923fc67
commit
fcf2427878
@ -165,7 +165,7 @@ func Pb2Map(pb proto.Message) (map[string]interface{}, error) {
|
||||
jsonbMarshaller := &jsonpb.Marshaler{
|
||||
OrigName: true,
|
||||
EnumsAsInts: true,
|
||||
EmitDefaults: true,
|
||||
EmitDefaults: false,
|
||||
}
|
||||
_ = jsonbMarshaller.Marshal(&_buffer, pb)
|
||||
jsonCnt := _buffer.Bytes()
|
||||
|
Loading…
x
Reference in New Issue
Block a user