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