|
@@ -600,16 +600,10 @@ public class CommonUtil {
|
|
return workDays;
|
|
return workDays;
|
|
}
|
|
}
|
|
|
|
|
|
- // 上传文件路径获取
|
|
|
|
- public String getSysFileUrl() {
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- return "";
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
public static String replaceOssUrl(String url) {
|
|
public static String replaceOssUrl(String url) {
|
|
|
|
+
|
|
String osName = System.getProperty("os.name");
|
|
String osName = System.getProperty("os.name");
|
|
- if (osName != null && osName.toLowerCase().contains("linux")) {
|
|
|
|
|
|
+ if (osName != null && osName.toLowerCase().contains("Cloud Linux")) {
|
|
// 如果当前操作系统是Linux系统
|
|
// 如果当前操作系统是Linux系统
|
|
Map<String, String> envMap = System.getenv();
|
|
Map<String, String> envMap = System.getenv();
|
|
if (!envMap.containsKey("linuxtesttest")) {
|
|
if (!envMap.containsKey("linuxtesttest")) {
|