增加修改课程视频是否可下载接口
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user