src/Biz/Course/Service/LiveReplayService.php
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?php
namespace Biz\Course\Service;
use Biz\System\Annotation\Log;
/**
* 直播回放, lessonId 在type为liveOpen情况下是直播公开课的课时ID, type为live情况下是课程的activity的ID.
*
* Interface LiveReplayService
*/
interface LiveReplayService
{
const REPLAY_UNGENERATE_STATUS = 'ungenerated';
const REPLAY_GENERATING_STATUS = 'generating';
const REPLAY_VIDEO_GENERATE_STATUS = 'videoGenerated';
const REPLAY_GENERATE_STATUS = 'generated';
/**
* @before getCourseLessonReplay
*
* @param int $id
*
* @return array
*/
public function getReplay($id);
/**
* @before getCourseLessonReplayByLessonId
*
* @param int $lessonId
* @param string $lessonType
*
* @return array
*/
public function findReplayByLessonId($lessonId, $lessonType = 'live');
/**
* @before addCourseLessonReplay
*
* @param array $replay
*
* @return array
*/
public function addReplay($replay);
/**
* @before deleteLessonReplayByLessonId
* @before deleteCourseLessonReplayByLessonId
*
* @param int $lessonId
* @param string $lessonType
*
* @return bool
*/
public function deleteReplayByLessonId($lessonId, $lessonType = 'live');
public function deleteReplaysByCourseId($courseId, $lessonType = 'live');
/**
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。