This commit is contained in:
jianghanbo 2024-09-19 10:29:16 +08:00
parent 869daf9a95
commit cad082fc7e
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ class AdminController extends base
}
if($typeDesc = $request->get('type_desc')) {
$routeType = self::ROUTE_LISTS[mb_substr($typeDesc, 0, 2)] ?? 10;
$query->where('route_type', $routeType);
//$routeType = self::ROUTE_LISTS[mb_substr($typeDesc, 0, 2)] ?? 10;
//$query->where('route_type', $routeType);
}
$list = $query->paginate($request->get('limit',10));