//redis类型介绍
//获取数据
$lotterylRedis = Redis::getInstance()->redisGet($key);
//有效期时间
$key = "Kaijang:lottery:frequency:simplehtml:" . $lotteryType;
Redis::getInstance()->redisSet($key, json_encode($data), 60*10);
//无时间
$key = "$sys:everyday:task:tate";
$member = "shareInformation" . "_" . $userId;
//小于次数,就增加金豆,并且自增1
Redis::getInstance()->redisZincrby($key, 1, $member);
$number = Redis::getInstance()->redisZscore($key, $member);