优化缓存,增加头像列表

This commit is contained in:
augushong
2021-03-23 20:28:30 +08:00
parent 384aa7f908
commit c5c90370f2
6 changed files with 184 additions and 14 deletions

View File

@@ -20,7 +20,9 @@ class Index extends Common
{
//
$list_post = Post::where('status', 1)->order('sort desc')->select();
$list_post = Post::quickSelect();
if (empty($post_id)) {
$model_post = $list_post->first();