|
|
@@ -42,8 +42,7 @@ public class FileUrlUtil {
|
|
42
|
42
|
if (200 == fileParam.getInfoCode()) {
|
|
43
|
43
|
FileObject data = fileParam.getData();
|
|
44
|
44
|
// 生产环境图片需要去掉api
|
|
45
|
|
- String sptFileUrl = sptFile.replace("/api", "");
|
|
46
|
|
- data.setLink(String.format("%s%s", sptFileUrl, data.getLink()));
|
|
|
45
|
+ data.setLink(String.format("%s%s", sptFile.replace("/api", ""), data.getLink()));
|
|
47
|
46
|
return data;
|
|
48
|
47
|
}
|
|
49
|
48
|
}
|