Commit d4210055 authored by wangzhengwen's avatar wangzhengwen

播放视频参数修改

parent b151f173
......@@ -144,13 +144,13 @@ class CourseProgress extends BaseController
public function playVideo(Request $request)
{
// 参数验证
$vo = (new CourseValidate())->goCheck(['course_id','course_class_id']);
$vo = (new CourseValidate())->goCheck(['course_id','class_id']);
if ($vo !== true) {
return $vo;
}
$courseId = input('course_id');
$class_id = input('course_class_id');
$class_id = input('class_id');
$userId = $this->request->userId ?? 0;
// 获取课程信息
$course = CourseModel::where([
......
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