feat(video): 제목·설명·해시태그를 영상 완료 시 DB에 저장
업로드 시점 Redis SEO 캐시 대신 video 행을 기준으로 두고, 게시 시에만 변경분을 갱신한다.
This commit is contained in:
1 parent
c7149deb1f
commit
a2d84421d2
11 files changed
+209
-65
No files matched your search
@@ -180,6 +180,9 @@ async def get_videos(
|
||||
task_id=video.task_id,
|
||||
result_movie_url=video.result_movie_url,
|
||||
poster_url=video.poster_url,
|
||||
title=video.title,
|
||||
description=video.description,
|
||||
hashtags=video.hashtags,
|
||||
created_at=video.created_at,
|
||||
like_count=like_count_map.get(video.id) or 0,
|
||||
comment_count=comment_count or 0,
|
||||
|
||||
Reference in new issue
Block a user