test modify

This commit is contained in:
Gordon 2021-11-30 21:12:03 +08:00
parent 39f5e13463
commit df592d99dd

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", key, redis.Args{}.Add(m)...)
return err
}