|
@@ -189,14 +189,14 @@ class Party extends Common
|
|
|
|
|
|
} else {
|
|
|
if($sqlPartyInfo["is_close"] == 1) $this->error("该房间已被关闭!");
|
|
|
-
|
|
|
+ if($sqlPartyInfo["status"] == 0){
|
|
|
|
|
|
$redis->del($this->roomTypeArr[$room_type]."_".$sqlPartyInfo["id"]);
|
|
|
|
|
|
\app\common\model\Party::where('id',$sqlPartyInfo["id"])->delete();
|
|
|
|
|
|
- $this->error("创建失败,请重试");
|
|
|
- }*/
|
|
|
+
|
|
|
+ }
|
|
|
|
|
|
|
|
|
if ($sqlPartyInfo['user_id'] != $user_id) {
|