完善网站

This commit is contained in:
augushong
2020-08-13 00:30:52 +08:00
parent 8ad99af41f
commit b9b38aee87
3 changed files with 5 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ class Common extends BaseController
$list_category_first_level = Category::where('level', 1)->where('status', 1)->where('type',3)->select();
View::assign('list_category_first_level', $list_category_first_level);
$list_nav_more = Nav::where('type', 8)->order('sort asc')->where('status', 1)->where('type',11)->select();
$list_nav_more = Nav::where('type', 8)->order('sort asc')->where('status', 1)->select();
View::assign('list_nav_more', $list_nav_more);
$top_posts = Post::where('is_top',1)->limit(8)->where('type',3)->select();