test modify

This commit is contained in:
Gordon 2021-11-30 20:50:38 +08:00
parent a705e595ee
commit bee12423b0

View File

@ -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", redis.Args{}.Add(key).AddFlat(m))
_, err := d.Exec("hmset", key, redis.Args{}.AddFlat(m))
return err
}