浏览代码

fix change video resource url | https://

guozhaoshun 6 年之前
父节点
当前提交
2bce02f682

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