From 594fa66a4ed9f01e098a5ff958168b63bcafb476 Mon Sep 17 00:00:00 2001 From: zj Date: Thu, 13 Aug 2026 10:42:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BF=AE=E6=94=B9=E8=AF=BE?= =?UTF-8?q?=E7=A8=8B=E8=A7=86=E9=A2=91=E6=98=AF=E5=90=A6=E5=8F=AF=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../JsonRpcInterface/CourseVideoInterface.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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; }