1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-28 13:21:37 +08:00
2021-04-08 19:58:30 +08:00

21 lines
364 B
PHP

<?php
namespace App\Services\Logic\Article;
use App\Caches\ArticleHotAuthorList as ArticleHotAuthorListCache;
use App\Services\Logic\Service as LogicService;
class HotAuthorList extends LogicService
{
public function handle()
{
$cache = new ArticleHotAuthorListCache();
$result = $cache->get();
return $result ?: [];
}
}