Commit 6ecc6dd8 by 侯昆

图片上传配置修改

1 parent 41a5ea69
...@@ -21,4 +21,6 @@ spring.datasource.druid.filter.stat.enabled=false ...@@ -21,4 +21,6 @@ spring.datasource.druid.filter.stat.enabled=false
mapper.mappers=com.dookay.coral.common.core.persistence.Mapper mapper.mappers=com.dookay.coral.common.core.persistence.Mapper
mybatis.mapper-locations=classpath*:mapper/*.xml mybatis.mapper-locations=classpath*:mapper/*.xml
security.basic.enabled=false security.basic.enabled=false
security.enable-csrf=false
\ No newline at end of file \ No newline at end of file
security.enable-csrf=false
server.jetty.max-http-post-size=20971520
spring.http.multipart.max-file-size=20MB
...@@ -46,7 +46,8 @@ public class TestImportWord extends CihaiCoreApplicationTests { ...@@ -46,7 +46,8 @@ public class TestImportWord extends CihaiCoreApplicationTests {
@Autowired @Autowired
private WordMapper wordMapper; private WordMapper wordMapper;
private String[] files = {"三言二拍系列", "中国的相关词", "二十四节气", "太阳", "太阳系", "春节", "象", "银河系", "马克思", "鲁迅"}; // private String[] files = {"三言二拍系列", "中国的相关词", "二十四节气", "太阳", "太阳系", "春节", "象", "银河系", "马克思", "鲁迅"};
private String[] files = {"历史上的今天新增词条"};
@Test @Test
@Rollback(false) @Rollback(false)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!