首页搜索,交友换麦
This commit is contained in:
@@ -35,12 +35,14 @@ class Search extends BaseCom
|
||||
if(is_numeric($search)){
|
||||
$where = [
|
||||
'room_number' => $search,
|
||||
'apply_status' => 2
|
||||
'apply_status' => 2,
|
||||
'type_id' => ['<>',6]
|
||||
];
|
||||
}else{
|
||||
$where = [
|
||||
'room_name' => ['like', '%'.$search . '%'],
|
||||
'apply_status' => 2
|
||||
'apply_status' => 2,
|
||||
'type_id' => ['<>',6]
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user