|
@@ -189,14 +189,14 @@ class Party extends Common
|
|
|
|
|
|
} else {
|
|
|
if($sqlPartyInfo["is_close"] == 1) $this->error("该房间已被关闭!");
|
|
|
- /*if($sqlPartyInfo["status"] == 0){//不清楚具体要做什么先注释
|
|
|
+ if($sqlPartyInfo["status"] == 0){
|
|
|
// 清楚对应的记录
|
|
|
$redis->del($this->roomTypeArr[$room_type]."_".$sqlPartyInfo["id"]);
|
|
|
// 删除派对记录
|
|
|
\app\common\model\Party::where('id',$sqlPartyInfo["id"])->delete();
|
|
|
|
|
|
- $this->error("创建失败,请重试");
|
|
|
- }*/
|
|
|
+ //$this->error("创建失败,请重试");//不清楚具体要做什么先注释
|
|
|
+ }
|
|
|
// if($sqlPartyInfo["status"] != 1) $this->error("该房间为预创建房间,请联系管理员正式开通!");
|
|
|
// 如果是房主并且房间处于离线状态下激活
|
|
|
if ($sqlPartyInfo['user_id'] != $user_id) {
|