test modify

This commit is contained in:
Gordon 2021-11-30 20:38:23 +08:00
parent 5f90851458
commit 45f29c4c6f

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