$model=DB::table("user"); foreach($request as $value){ if($value->name){ $model->where("name",$value->name); } }
时间: 2024-10-29 19:07:28
$model=DB::table("user"); foreach($request as $value){ if($value->name){ $model->where("name",$value->name); } }