1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-26 04:21:27 +08:00
2021-05-07 19:34:31 +08:00

21 lines
352 B
PHP

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