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