feat(video): 영상 첫 프레임 썸네일 생성 및 저장
This commit is contained in:
1 parent
4c4297c37a
commit
8e9e12fe0b
11 files changed
+270
-14
No files matched your search
@@ -987,6 +987,7 @@ async def get_all_videos(
|
||||
video_id=v.id,
|
||||
store_name=p.store_name,
|
||||
result_movie_url=v.result_movie_url,
|
||||
poster_url=v.poster_url,
|
||||
created_at=v.created_at,
|
||||
like_count=like_count_map.get(v.id) or 0,
|
||||
is_liked_by_me=liked_map.get(v.id, False),
|
||||
@@ -1166,6 +1167,7 @@ async def get_video_detail(
|
||||
return VideoDetailResponse(
|
||||
video_id=video.id,
|
||||
result_movie_url=video.result_movie_url,
|
||||
poster_url=video.poster_url,
|
||||
store_name=project.store_name,
|
||||
region=project.region or _extract_region_from_address(project.detail_region_info),
|
||||
created_at=video.created_at,
|
||||
|
||||
Reference in new issue
Block a user