新增头部和导航

This commit is contained in:
augushong
2021-03-29 00:03:26 +08:00
parent 7f98d5e8c9
commit 6fd50e255d
10 changed files with 263 additions and 40 deletions

View File

@@ -18,10 +18,6 @@ class Index extends Common
*/
public function index($post_id = 0)
{
//
$list_post = Post::quickSelect();
if (empty($post_id)) {
@@ -30,7 +26,6 @@ class Index extends Common
$model_post = $list_post->where('id', $post_id)->first();
}
View::assign('model_post', $model_post);
View::assign('list_post', $list_post);