1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-24 04:01:31 +08:00
2020-05-07 20:18:37 +08:00

50 lines
856 B
PHP

<?php
namespace App\Http\Web\Services;
use App\Caches\IndexFreeCourseList;
use App\Caches\IndexLiveList;
use App\Caches\IndexNewCourseList;
use App\Caches\IndexSlideList;
use App\Caches\IndexVipCourseList;
class Index extends Service
{
public function getSlideList()
{
$cache = new IndexSlideList();
return $cache->get();
}
public function getLiveList()
{
$cache = new IndexLiveList();
return $cache->get();
}
public function getNewCourseList()
{
$cache = new IndexNewCourseList();
return $cache->get();
}
public function getFreeCourseList()
{
$cache = new IndexFreeCourseList();
return $cache->get();
}
public function getVipCourseList()
{
$cache = new IndexVipCourseList();
return $cache->get();
}
}