소스 검색

update VideoService#getShareLink

reghao 9 달 전
부모
커밋
99da166072
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      content/content-service/src/main/java/cn/reghao/tnb/content/app/vod/service/VideoService.java

+ 2 - 1
content/content-service/src/main/java/cn/reghao/tnb/content/app/vod/service/VideoService.java

@@ -87,7 +87,8 @@ public class VideoService {
     }
 
     public String getShareLink(String videoId) {
-        return "";
+        String shortUrl = String.format("/s/%s", videoId);
+        return shortUrl;
     }
 
     public DownloadUrl downloadVideo(String videoId) {