redis replace go redis

This commit is contained in:
Gordon 2022-05-31 13:20:51 +08:00
parent d4c587c668
commit 47af0d0356

View File

@ -30,6 +30,7 @@ func (d *DataBases) NewSetMessageToCache(msgList []*pbChat.MsgDataToMQ, uid stri
continue
}
log2.NewDebug(operationID, "convert map is ", s)
fmt.Println("ts", s)
val, err := d.rdb.HSet(ctx, key, s).Result()
if err != nil {
return err