Sfoglia il codice sorgente

update VideoService#getShareLink

reghao 9 mesi fa
parent
commit
99da166072

+ 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) {