|
|
@@ -181,7 +181,7 @@ public class OssEndpoint {
|
|
|
}
|
|
|
String link = bladeFile.getLink();
|
|
|
System.err.println("link:" + link);
|
|
|
- //String replace = link.replace("http://139.9.191.155:9000/", "https://trade.tubaosoft.com/file/");
|
|
|
+ //String replace = link.replace("http://113.44.105.66:9000/", "https://trade.tubaosoft.com/file/");
|
|
|
String replace = "";
|
|
|
if (ObjectUtils.isNotNull(status) && "获取数据失败".equals(status)) {
|
|
|
if (ObjectUtils.isNotNull(replaceUrl)&& "获取数据失败".equals(replaceUrl)){
|
|
|
@@ -190,7 +190,7 @@ public class OssEndpoint {
|
|
|
replace = link.replace(status + ":9000/", status + "/file/");
|
|
|
}
|
|
|
} else {
|
|
|
- replace = link.replace("http://139.9.191.155:9000/", "http://139.9.191.155/file/");
|
|
|
+ replace = link.replace("http://113.44.105.66:9000/", "http://113.44.105.66/file/");
|
|
|
}
|
|
|
System.err.println("replace:" + replace);
|
|
|
bladeFile.setLink(replace);
|
|
|
@@ -233,7 +233,7 @@ public class OssEndpoint {
|
|
|
bladeFile = ossBuilder.template().putFile(file.getOriginalFilename(), file.getInputStream());
|
|
|
}
|
|
|
String link = bladeFile.getLink();
|
|
|
- //String replace = link.replace("http://139.9.191.155:9000/", "https://trade.tubaosoft.com/file/");
|
|
|
+ //String replace = link.replace("http://113.44.105.66:9000/", "https://trade.tubaosoft.com/file/");
|
|
|
String replace = "";
|
|
|
if (ObjectUtils.isNotNull(status) && "获取数据失败".equals(status)) {
|
|
|
if (ObjectUtils.isNotNull(replaceUrl)&& "获取数据失败".equals(replaceUrl)){
|
|
|
@@ -242,7 +242,7 @@ public class OssEndpoint {
|
|
|
replace = link.replace(status + ":9000/", status + "/file/");
|
|
|
}
|
|
|
} else {
|
|
|
- replace = link.replace("http://139.9.191.155:9000/", "http://139.9.191.155/file/");
|
|
|
+ replace = link.replace("http://113.44.105.66:9000/", "http://113.44.105.66/file/");
|
|
|
}
|
|
|
System.err.println("replace:" + replace);
|
|
|
bladeFile.setLink(replace);
|
|
|
@@ -272,7 +272,7 @@ public class OssEndpoint {
|
|
|
if (ObjectUtils.isNotNull(status)) {
|
|
|
replace = link.replace(status + ":9000/", status + "/file/");
|
|
|
} else {
|
|
|
- replace = link.replace("http://139.9.191.155:9000/", "https://trade.re-king.cn/file/");
|
|
|
+ replace = link.replace("http://113.44.105.66:9000/", "https://trade.re-king.cn/file/");
|
|
|
}
|
|
|
System.out.println("replace======>" + replace);
|
|
|
bladeFile.setLink(replace);
|
|
|
@@ -295,7 +295,7 @@ public class OssEndpoint {
|
|
|
if (ObjectUtils.isNotNull(status)) {
|
|
|
replace = link.replace(status + ":9000/", status + "/file/");
|
|
|
} else {
|
|
|
- replace = link.replace("http://139.9.191.155:9000/", "http://139.9.191.155/file/");
|
|
|
+ replace = link.replace("http://113.44.105.66:9000/", "http://113.44.105.66/file/");
|
|
|
}
|
|
|
bladeFile.setLink(replace);
|
|
|
return R.data(bladeFile);
|