Commit 5ee7e9b6 authored by iamhujiebin's avatar iamhujiebin

Update router.go

parent 2ee63f75
...@@ -116,7 +116,7 @@ func SyncGroupRoomLiving(c *gin.Context) (*mycontext.MyContext, error) { ...@@ -116,7 +116,7 @@ func SyncGroupRoomLiving(c *gin.Context) (*mycontext.MyContext, error) {
return myCtx, err return myCtx, err
} }
for _, v := range res { for _, v := range res {
err := model.RedisCluster.ZAdd(model, key, &redis.Z{ err := model.RedisCluster.ZAdd(model, key+"1", &redis.Z{
Score: v.Score, Score: v.Score,
Member: v.Member, Member: v.Member,
}).Err() }).Err()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment