|
@@ -2447,9 +2447,9 @@ class Party extends Api
|
|
|
//轮询下麦
|
|
|
$key = "party_seat_".$party_id;
|
|
|
$seats = $this->redis->hGetAll($key);
|
|
|
- foreach($seats as $seat_num => $seatuserid){
|
|
|
+ foreach($seats as $seatnum => $seatuserid){
|
|
|
if($seatuserid == $userId){
|
|
|
- $this->redis->HDel($key, $seat_num);
|
|
|
+ $this->redis->HDel($key, $seatnum);
|
|
|
}
|
|
|
}
|
|
|
|