From bd62da8e1ad037ad375d467673bb7711eb5e538d Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Tue, 30 Nov 2021 21:17:20 +0800 Subject: [PATCH] test modify --- pkg/common/db/redisModel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/db/redisModel.go b/pkg/common/db/redisModel.go index 69fa05f57..2b747cb7d 100644 --- a/pkg/common/db/redisModel.go +++ b/pkg/common/db/redisModel.go @@ -93,7 +93,7 @@ func (d *DataBases) SetTokenMapByUidPid(userID string, platformID int32, m map[s // a = append(a, k) // a = append(a, v) //} - _, err := d.Exec("hmset", key, redis.Args{}.Add(m)...) + _, err := d.Exec("hmset", key, redis.Args{}.Add().AddFlat(m)...) return err }