首页搜索,交友换麦

This commit is contained in:
2025-09-16 19:09:04 +08:00
parent 8b0597423f
commit 2f3593939b
2 changed files with 15 additions and 7 deletions

View File

@@ -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]
];
}