mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-26 12:23:06 +08:00
21 lines
343 B
PHP
21 lines
343 B
PHP
<?php
|
|
|
|
namespace App\Services\Logic\Article;
|
|
|
|
use App\Caches\TopAuthorList as TopAuthorListCache;
|
|
use App\Services\Logic\Service as LogicService;
|
|
|
|
class TopAuthorList extends LogicService
|
|
{
|
|
|
|
public function handle()
|
|
{
|
|
$cache = new TopAuthorListCache();
|
|
|
|
$result = $cache->get();
|
|
|
|
return $result ?: [];
|
|
}
|
|
|
|
}
|