This commit is contained in:
2020-09-17 08:57:27 +08:00
parent ac3b53b163
commit a4162b5710
9 changed files with 223 additions and 157 deletions

View File

@@ -22,7 +22,7 @@ class Controller extends BaseController
$categorys = Category::where('status', 1)
->whereIn('type', [Category::TYPE_ARTICLE, Category::TYPE_SHOW])
->where('top_show', 1)
->orderBy('order', 'desc')
->orderBy('order', 'asc')
->select('id', 'title')
->get();
$links = Link::get();