This commit is contained in:
weiz 2023-11-13 17:12:24 +08:00
parent f6935bda30
commit d56cc36cb7

View File

@ -22,8 +22,8 @@
if($k != 'status'){
$where[] = [$k,'like','%'.$v.'%'];
}else{
if($v==3){
$where[] = [$k,'in','3,4'];
if($v==2){
$where[] = [$k,'in','2,3,4'];
}else{
$where[] = [$k,'=',$v];
}