|
|
@@ -1,22 +1,21 @@
|
|
1
|
1
|
package com.chinaitop.depot.utils;
|
|
2
|
2
|
|
|
3
|
|
-import com.alibaba.fastjson.JSON;
|
|
4
|
|
-import lombok.extern.slf4j.Slf4j;
|
|
5
|
|
-import org.springframework.stereotype.Component;
|
|
|
3
|
+import javax.annotation.Resource;
|
|
|
4
|
+
|
|
|
5
|
+import org.springframework.stereotype.Service;
|
|
6
|
6
|
import org.springframework.util.LinkedMultiValueMap;
|
|
7
|
7
|
import org.springframework.util.MultiValueMap;
|
|
8
|
8
|
import org.springframework.util.ObjectUtils;
|
|
9
|
9
|
import org.springframework.web.client.RestTemplate;
|
|
10
|
10
|
|
|
11
|
|
-import javax.annotation.Resource;
|
|
|
11
|
+import com.alibaba.fastjson.JSON;
|
|
12
|
12
|
|
|
13
|
13
|
/**
|
|
14
|
14
|
* @author qingsong.han
|
|
15
|
15
|
* @description:
|
|
16
|
16
|
* @create 2024-11-27 10:50
|
|
17
|
17
|
*/
|
|
18
|
|
-@Slf4j
|
|
19
|
|
-@Component
|
|
|
18
|
+@Service
|
|
20
|
19
|
public class FileUrlUtil {
|
|
21
|
20
|
@Resource
|
|
22
|
21
|
private RestTemplate restTemplate;
|