msg cache

This commit is contained in:
wangchuxiao
2022-05-24 16:54:56 +08:00
parent 499c4a27d3
commit df51c8b9a4
3 changed files with 27 additions and 6 deletions
-1
View File
@@ -147,6 +147,5 @@ func Pb2Map(pb proto.Message) (map[string]interface{}, error) {
jsonCnt := _buffer.Bytes()
var out map[string]interface{}
err := json.Unmarshal(jsonCnt, &out)
return out, err
}