Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
石磊
/
cihai
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6ecc6dd8
authored
Jan 25, 2018
by
侯昆
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
图片上传配置修改
1 parent
41a5ea69
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
serverside/cihai-admin/src/main/resources/application.properties
serverside/cihai-core/src/test/java/com/dookay/cihai/core/excel/TestImportWord.java
serverside/cihai-admin/src/main/resources/application.properties
View file @
6ecc6dd
...
@@ -22,3 +22,5 @@ mapper.mappers=com.dookay.coral.common.core.persistence.Mapper
...
@@ -22,3 +22,5 @@ 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
security.enable-
csrf
=
false
server.jetty.max-http-post-
size
=
20971520
spring.http.multipart.max-file-
size
=
20MB
serverside/cihai-core/src/test/java/com/dookay/cihai/core/excel/TestImportWord.java
View file @
6ecc6dd
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment