Files
hjsq_server/common/redis/redisutil.go
T
2026-10-08 16:50:13 +08:00

12 lines
227 B
Go

package redis
// 更新filed或insert 更新消息是否已读
func (r *Client) UpSertMap(key string, fileds map[string]interface{}) {
for k, v := range fileds {
if k == "" {
continue
}
r.client.HSet(key, k, v)
}
}