소스 검색

fix change video resource url | https://

guozhaoshun 6 년 전
부모
커밋
2bce02f682
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      rankin-resource-service/src/main/java/cn/rankin/resourceservice/controller/ResourceController.java

+ 1 - 3
rankin-resource-service/src/main/java/cn/rankin/resourceservice/controller/ResourceController.java

@@ -11,7 +11,6 @@ import com.alibaba.fastjson.JSON;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.commons.lang.StringUtils;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.beans.factory.annotation.Value;
 import org.springframework.web.bind.annotation.*;
 
 import java.util.List;
@@ -28,8 +27,7 @@ public class ResourceController {
     public static String HTTP_VIDEO_DOMAIN = "http://efunvideo.ai160.com";
     public static String LJ_VIDEO_DOMAIN = "http://ljvideo.ai160.com";
 
-    @Value("${resource.video.domain}")
-    public static String HTTPS_VIDEO_DOMAIN;
+    public static String HTTPS_VIDEO_DOMAIN = "https://efunvideo.ai160.com";
 
     @RequestMapping(value = "/list")
     public APIResult<Page<Resource>> search(ResourceSearchDTO resourceSearchDTO) {