|
|
@@ -26,7 +26,7 @@ public class MultipartConfig {
|
|
|
public MultipartConfigElement multipartConfigElement() {
|
|
|
String absolutePath = serverProperties.getTomcat().getBasedir().getAbsolutePath();
|
|
|
String contextPath = serverProperties.getServlet().getContextPath();
|
|
|
- String location = "/wjxyMultipart/";
|
|
|
+ String location = "/wjxyMultipart";
|
|
|
// 转换为Path对象
|
|
|
Path dirPath = Paths.get(absolutePath + "/work/Tomcat/localhost/" + contextPath + location);
|
|
|
try {
|