laravel if判断查询
$response = DB::table('medical_institution')->where(function($query) use($params) { if ($params['type'] > 0) { $query->where('type', $params['type']); }})->where(functio...