Commit 4cd3966b authored by 陈曦's avatar 陈曦

获取精选课程接口

parent d341e929
......@@ -24,4 +24,14 @@ class CourseList extends Client
return self::call('course.getRecommendList', compact('num'));
}
/**
* 获取精选课程列表
*
* @param int $num
* @return array
*/
public static function getRecommendCourseList($num=10)
{
return self::call('course.getRecommendCourses', compact('num'));
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment