|
@@ -317,6 +317,15 @@ class Easemob extends Api
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ //下麦
|
|
|
+ $key = "party_seat_".$party_info['id'];
|
|
|
+ $seats = $this->redis->hGetAll($key);
|
|
|
+ foreach($seats as $seat_num => $seatuserid){
|
|
|
+ if($seatuserid == $uid){
|
|
|
+ $this->redis->HDel($key, $seat_num);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
//重置房间在线人数
|
|
|
$matedata['online_user_num'] = count($this->redis->hGetAll("online_".$party_info['id']));
|
|
|
|