|
@@ -154,7 +154,7 @@ class Livebc extends Api
|
|
|
//排行榜
|
|
|
$redis = new Redis();
|
|
|
$redisconfig = config("redis");
|
|
|
- $redis->connect($redisconfig["host"], $redisconfig["port"], 86400 * 31);
|
|
|
+ $redis->connect($redisconfig["host"], $redisconfig["port"]);
|
|
|
|
|
|
// 添加redis记录做财富排行榜
|
|
|
$redis->zIncrBy("livebc_jewel_get_" . $partyid, $giftinfo['value'], $user_id);
|
|
@@ -233,7 +233,6 @@ class Livebc extends Api
|
|
|
//$redis->hSet("livebc_jewel_top3",$party_id,json_encode($avatarArr));
|
|
|
}
|
|
|
dump($avatarArr);
|
|
|
-
|
|
|
}
|
|
|
|
|
|
|