feat(dramas,media): add video resolution fields and fix quote style

1. 为剧集剧集添加width和height字段,支持存储视频分辨率信息
2. 统一将media.controller.ts中的单引号改为双引号,保持代码风格一致
This commit is contained in:
2026-07-01 16:04:49 +08:00
parent ef8c31d3be
commit 5fa8c5e0a9
5 changed files with 40 additions and 18 deletions

View File

@@ -94,6 +94,8 @@ export class DramasService {
videoUrl: dto.videoUrl,
trialDurationSeconds: dto.trialDurationSeconds,
durationSeconds: dto.durationSeconds,
width: dto.width,
height: dto.height,
isPaid: freeType === 'paid',
freeType,
unlockPrice: price,