This commit is contained in:
parent
869daf9a95
commit
cad082fc7e
|
@ -26,8 +26,8 @@ class AdminController extends base
|
||||||
}
|
}
|
||||||
|
|
||||||
if($typeDesc = $request->get('type_desc')) {
|
if($typeDesc = $request->get('type_desc')) {
|
||||||
$routeType = self::ROUTE_LISTS[mb_substr($typeDesc, 0, 2)] ?? 10;
|
//$routeType = self::ROUTE_LISTS[mb_substr($typeDesc, 0, 2)] ?? 10;
|
||||||
$query->where('route_type', $routeType);
|
//$query->where('route_type', $routeType);
|
||||||
}
|
}
|
||||||
|
|
||||||
$list = $query->paginate($request->get('limit',10));
|
$list = $query->paginate($request->get('limit',10));
|
||||||
|
|
Loading…
Reference in New Issue