阅读(3259) 赞(12)

Redis 添加元素

2017-07-04 10:50:30 更新
sadd key member

成功返回1,如果元素以及在集合中返回0,key对应的set不存在返回错误