|  | @@ -197,13 +197,13 @@ class Livebc extends Api
 | 
	
		
			
				|  |  |              $redisconfig = config("redis");
 | 
	
		
			
				|  |  |              $redis->connect($redisconfig["host"], $redisconfig["port"], 86400 * 31);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -            // 添加redis记录做财富排行榜日榜用
 | 
	
		
			
				|  |  | -            $redis->zIncrBy("livebc_jewel_to_" . $this->auth->id, $giftinfo['value'], $user_id);
 | 
	
		
			
				|  |  | +            // 添加redis记录做财富排行榜日榜用,用直播用户的uid作为房间号
 | 
	
		
			
				|  |  | +            $redis->zIncrBy("livebc_jewel_to_" . $user_id, $giftinfo['value'], $this->auth->id);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          // tcp 获取房间用户周前三名
 | 
	
		
			
				|  |  | -        $partyUserTop = $this->getPartyUserTop($this->auth->id);
 | 
	
		
			
				|  |  | +        $partyUserTop = $this->getPartyUserTop($user_id);
 | 
	
		
			
				|  |  |          $returnData["partyUserTop"] = $partyUserTop;
 | 
	
		
			
				|  |  |          $returnData["image"] = one_domain_image($giftinfo["image"]);
 | 
	
		
			
				|  |  |          $returnData["gif_image"] = one_domain_image($giftinfo["special"]);
 |