guozhaoshun 6 years ago
parent
commit
84fcec2c52

+ 2 - 0
rankin-resource-service/src/main/java/cn/rankin/resourceservice/dto/ResourceRemote.java

@@ -11,8 +11,10 @@ import cn.rankin.resourceservice.controller.ResourceController;
 import lombok.Data;
 import org.apache.commons.lang.StringUtils;
 import org.springframework.beans.factory.annotation.Value;
+import org.springframework.stereotype.Component;
 
 @Data
+@Component
 public class ResourceRemote implements Serializable {
 
     private static final long serialVersionUID = 1L;