1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-23 03:50:56 +08:00
xiaochong0302 93b0071c87 去掉第三方登录
增强关闭交易健壮性
去除.phalcon目录
2020-04-18 19:51:43 +08:00

24 lines
436 B
PHP

<?php
namespace App\Services\Frontend\Course;
use App\Caches\CourseRelatedList as CourseRelatedListCache;
use App\Services\Frontend\CourseTrait;
use App\Services\Frontend\Service;
class CourseRelated extends Service
{
use CourseTrait;
public function getRelated($id)
{
$course = $this->checkCourse($id);
$listCache = new CourseRelatedListCache();
return $listCache->get($course->id);
}
}