feat: 添加数据分析模块、媒体上传功能与剧集管理完善

本次提交新增了完整的数据分析模块,包括数据同步、指标统计接口;实现了基于BytePlus的直传媒体上传流程,包含上传任务创建、完成、审核同步等功能;同时完善了剧集管理功能,新增了剧集配置、更新接口,扩展了审核状态枚举,补充了剧集与剧集指标的关联逻辑,还添加了播放器对外接口与相关测试用例。
This commit is contained in:
2026-07-01 16:36:06 +08:00
parent 5fa8c5e0a9
commit 026665b2cc
28 changed files with 1437 additions and 20 deletions

View File

@@ -8,8 +8,21 @@ export interface CoverRecord {
export interface MediaUploadJobRecord {
id: number;
jobId: string;
episodeId?: number;
byteplusVid?: string;
status: string;
fileName?: string;
contentType?: string;
fileSize?: number;
bucket?: string;
objectKey?: string;
uploadUrl?: string;
videoUrl?: string;
width?: number;
height?: number;
durationSeconds?: number;
reviewStatus?: 'not_submitted' | 'pending' | 'reviewing' | 'approved' | 'rejected';
reviewMessage?: string;
rawResponse?: Record<string, unknown>;
createdAt: string;
updatedAt: string;