|
|
@@ -167,9 +167,10 @@ public class OssEndpoint {
|
|
|
System.err.println("link:" + link);
|
|
|
//String replace = link.replace("http://121.37.83.47:9000/", "https://trade.tubaosoft.com/file/");
|
|
|
String replace = "";
|
|
|
- if (Objects.equals(status, CommonEnum.GET_DATA_FAIL.info)) {
|
|
|
+ if (!Objects.equals(status, CommonEnum.GET_DATA_FAIL.info)) {
|
|
|
replace = Objects.equals(replaceUrl, CommonEnum.GET_DATA_FAIL.info) ? link.replace(status, replaceUrl + "/file") : link.replace(status + ":9000/", status + "/file/");
|
|
|
} else {
|
|
|
+ // todo: 需要修改
|
|
|
replace = link.replace("http://121.37.83.47:9000/", "https://lt.echepei.com/file/");
|
|
|
}
|
|
|
System.err.println("replace:" + replace);
|