排序
This commit is contained in:
@@ -60,7 +60,7 @@ class ProductController extends BaseMiniController
|
||||
}
|
||||
|
||||
$pageSize = (int) $request->input('pageSize', 10);
|
||||
$paginator = $query->orderBy('sort', 'desc')
|
||||
$paginator = $query->orderBy('sort')
|
||||
->orderBy('id')
|
||||
->paginate($pageSize);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user