|  | @@ -96,6 +96,9 @@ class Party extends Common
 | 
											
												
													
														|  |              $redis->del($this->roomTypeArr[$room_type]."_".$sqlPartyInfo["id"]);
 |  |              $redis->del($this->roomTypeArr[$room_type]."_".$sqlPartyInfo["id"]);
 | 
											
												
													
														|  |              // 删除派对记录
 |  |              // 删除派对记录
 | 
											
												
													
														|  |              \app\common\model\Party::where('id',$sqlPartyInfo["id"])->delete();
 |  |              \app\common\model\Party::where('id',$sqlPartyInfo["id"])->delete();
 | 
											
												
													
														|  | 
 |  | +            $where["user_id"] = $user_id;
 | 
											
												
													
														|  | 
 |  | +            $where["room_type"] = $room_type;
 | 
											
												
													
														|  | 
 |  | +            $sqlPartyInfo = $partyModel->where($where)->find();
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |          if(!$sqlPartyInfo) { // sql中不存在派对信息
 |  |          if(!$sqlPartyInfo) { // sql中不存在派对信息
 | 
											
												
													
														|  |              $partylimit = config("site.roomLimit");
 |  |              $partylimit = config("site.roomLimit");
 |