|
@@ -746,6 +746,7 @@ class Party extends Common
|
|
|
$this->error(__('Invalid parameters'));
|
|
|
}
|
|
|
$user_u_id = $this->auth->u_id;
|
|
|
+ $userId = $this->auth->id;
|
|
|
$redis = new Redis();
|
|
|
$redisconfig = config("redis");
|
|
|
$redis->connect($redisconfig["host"], $redisconfig["port"]);
|
|
@@ -756,7 +757,7 @@ class Party extends Common
|
|
|
$redis->select($redisconfig['redis_selectdb']);
|
|
|
}
|
|
|
|
|
|
- $redis->zRem("party_user_".$party_id,$user_u_id);
|
|
|
+ $redis->zRem("party_user_".$party_id,$userId);
|
|
|
|
|
|
// 处理online_party_id
|
|
|
//$redis->connect($redisconfig["host"], $redisconfig["port"]);
|