9 changed files with 70 additions and 14 deletions
@ -0,0 +1,41 @@ |
|||||||
|
service.package.type=jar |
||||||
|
# 定位模板的目录(配合ResourceHandler使用,控制页面访问) |
||||||
|
spring.mvc.view.prefix=/private/ |
||||||
|
spring.mvc.view.suffix=.html |
||||||
|
logging.config:log4j2.xml |
||||||
|
|
||||||
|
spring.main.banner-mode=off |
||||||
|
|
||||||
|
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource |
||||||
|
spring.datasource.driver-class-name=com.mysql.jdbc.Driver |
||||||
|
spring.datasource.initialSize=3 |
||||||
|
spring.datasource.minIdle=3 |
||||||
|
spring.datasource.maxActive=20 |
||||||
|
spring.datasource.maxWait=60000 |
||||||
|
spring.datasource.timeBetweenEvictionRunsMillis=60000 |
||||||
|
spring.datasource.minEvictableIdleTimeMillis=300000 |
||||||
|
spring.datasource.validationQuery=SELECT 1 FROM DUAL |
||||||
|
spring.datasource.keepAlive=true |
||||||
|
spring.datasource.testWhileIdle=true |
||||||
|
spring.datasource.testOnBorrow=false |
||||||
|
spring.datasource.testOnReturn=false |
||||||
|
spring.datasource.poolPreparedStatements=false |
||||||
|
|
||||||
|
mybatis.mapper-locations= classpath*:mapper/**/*.xml |
||||||
|
#mybatis.configuration.log-impl= org.apache.ibatis.logging.stdout.StdOutImpl |
||||||
|
#开启mybatis驼峰映射 |
||||||
|
mybatis.configuration.map-underscore-to-camel-case=true |
||||||
|
|
||||||
|
pagehelper.helperDialect=mysql |
||||||
|
pagehelper.reasonable=true |
||||||
|
pagehelper.supportMethodsArguments=true |
||||||
|
pagehelper.params=count=countSql |
||||||
|
pagehelper.returnPageInfo=check |
||||||
|
|
||||||
|
server.port=80 |
||||||
|
server.servlet.context-path=/ |
||||||
|
version.num=1.0.0 |
||||||
|
|
||||||
|
timeout.login.token=1000000 |
||||||
|
spring.servlet.multipart.max-file-size=10MB |
||||||
|
spring.servlet.multipart.max-request-size=100MB |
Loading…
Reference in new issue