Commit f108b2f7 by chenweisong

更新

parent aee2e764
package com.keymobile.rest.common.conf;
import org.springframework.boot.web.servlet.MultipartConfigFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import javax.servlet.MultipartConfigElement;
//@Configuration
public class AppConfig {
/**
* 文件上传临时路径
*/
@Bean
MultipartConfigElement multipartConfigElement() {
MultipartConfigFactory factory = new MultipartConfigFactory();
factory.setLocation("./temp");
return factory.createMultipartConfig();
}
}
...@@ -53,8 +53,6 @@ spring: ...@@ -53,8 +53,6 @@ spring:
activiti: activiti:
check-process-definitions: false # 关闭验证自动部署 check-process-definitions: false # 关闭验证自动部署
server: server:
# tomcat:
# basedir: ./temp
port: 8110 port: 8110
app: app:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment