Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -54,8 +54,8 @@ class RoomAuction extends Model
|
||||
}
|
||||
}
|
||||
//查询房间是否正在拍卖
|
||||
$auction = db::name('vs_room_auction')->where('room_id',$room_id)->where('status',2)->find();
|
||||
if($auction){
|
||||
$auctions = db::name('vs_room_auction')->where('room_id',$room_id)->where('status',2)->find();
|
||||
if($auctions){
|
||||
return ['code' => 0, 'msg' => '房间正在竞拍中!请稍后继续','data' => null];
|
||||
}
|
||||
$user_ids = Cache::get('auction_user_'.$room_id);
|
||||
|
||||
Reference in New Issue
Block a user