mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-27 04:57:39 +08:00
19 lines
392 B
PHP
19 lines
392 B
PHP
<?php
|
|
|
|
namespace App\Services\Frontend\Search;
|
|
|
|
use App\Services\Frontend\Service as FrontendService;
|
|
use App\Services\Search\CourseSearcher as CourseSearcherService;
|
|
|
|
class CourseHotQuery extends FrontendService
|
|
{
|
|
|
|
public function handle($limit = 10, $type = 'total')
|
|
{
|
|
$searcher = new CourseSearcherService();
|
|
|
|
return $searcher->getHotQuery($limit, $type);
|
|
}
|
|
|
|
}
|