Browse Source

fix saveRemoteResource

guozhaoshun 6 years ago
parent
commit
a3601eb3d5

+ 1 - 1
rankin-resource-service/src/main/java/cn/rankin/resourceservice/service/ResourceService.java

@@ -245,7 +245,7 @@ public class ResourceService {
 
 
         List<Map<String, Object>> videos = new ArrayList<>();
         List<Map<String, Object>> videos = new ArrayList<>();
         Map<String, Object> video = new HashMap<>();
         Map<String, Object> video = new HashMap<>();
-        video.put("bucket","");
+        video.put("bucket",resource.getName());
         video.put("path",resource.getPath());
         video.put("path",resource.getPath());
         video.put("format",resource.getFormat());
         video.put("format",resource.getFormat());
         video.put("quality",resource.getQuality());
         video.put("quality",resource.getQuality());