按需求调整
This commit is contained in:
@@ -33,7 +33,7 @@ class CategoryController extends Controller
|
||||
->where('status', 1)
|
||||
->latest('sort')
|
||||
->latest('created_at')
|
||||
->paginate(8);
|
||||
->paginate();
|
||||
|
||||
$parent = $category;
|
||||
if ($category->childrens->isEmpty() && $category->parent) {
|
||||
|
||||
Reference in New Issue
Block a user