|
@@ -53,6 +53,10 @@ public class ServerUtils {
|
|
|
@Value("${file.base-path}")
|
|
|
private String basePath;
|
|
|
|
|
|
+ @Value("${server.temp}")
|
|
|
+ private String tempServer;
|
|
|
+
|
|
|
+
|
|
|
public String getHost() {
|
|
|
|
|
|
String pro = protocol.trim().toLowerCase();
|
|
@@ -96,4 +100,8 @@ public class ServerUtils {
|
|
|
public String getBasePath() {
|
|
|
return basePath.replaceAll("/", File.separator).replaceAll(File.separator + "{2,}", File.separator);
|
|
|
}
|
|
|
+
|
|
|
+ public String getTempServerPath() {
|
|
|
+ return tempServer;
|
|
|
+ }
|
|
|
}
|