Ver código fonte

recover file

guozhaoshun 6 anos atrás
pai
commit
664b5a5ccc

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

@@ -206,7 +206,7 @@ public class ResourceService {
 
     /**
      *
-      * @param resource
+     * @param resource
      * @throws DuplicateValueException
      * @throws NotFoundException
      */
@@ -349,7 +349,7 @@ public class ResourceService {
 
         Set<ResourceVideo> videos = new HashSet<>();
         ResourceVideo video = new ResourceVideo();
-        video.setId(resource.getId());
+//        video.setId(resource.getId());
         video.setBucket("efunbox");
         video.setPath(resource.getPath());
         video.setQuality(resource.getQuality());
@@ -359,7 +359,7 @@ public class ResourceService {
 
 
         ResourceRemote resourceRemote = new ResourceRemote();
-        resourceRemote.setId(resource.getRid());
+        resourceRemote.setId(resource.getId());
         resourceRemote.setNo(resource.getCode());
         resourceRemote.setTitle(resource.getName());
         resourceRemote.setType(resource.getType());
@@ -412,4 +412,3 @@ public class ResourceService {
     }
 
 }
-