diff --git a/src/CourseService/JsonRpcInterface/CourseVideoInterface.php b/src/CourseService/JsonRpcInterface/CourseVideoInterface.php index 92a2856..e1889cd 100644 --- a/src/CourseService/JsonRpcInterface/CourseVideoInterface.php +++ b/src/CourseService/JsonRpcInterface/CourseVideoInterface.php @@ -65,4 +65,12 @@ interface CourseVideoInterface * @param int $userId 用户ID */ public function addVideoBrowse(int $id, int $userId); + + /** + * 修改课程视频是否可下载 + * @param int $id 课程视频ID + * @param int $canDownload 是否可下载 0-不可下载 1-可下载 + * @return void + */ + public function updateCanDownload(int $id, int $canDownload): void; }