mirror of
https://github.com/201206030/novel-plus.git
synced 2025-07-01 15:26:37 +00:00
42 lines
979 B
Java
42 lines
979 B
Java
server:
|
||
session-timeout: 18000
|
||
# tomcat:
|
||
# max-threads: 1000
|
||
# min-spare-threads: 30
|
||
port: 80
|
||
# uri-encoding: utf-8
|
||
#security:
|
||
# basic:
|
||
# enabled: false
|
||
spring:
|
||
datasource:
|
||
driverClassName: org.apache.shardingsphere.driver.ShardingSphereDriver
|
||
url: jdbc:shardingsphere:absolutepath:${user.dir}/config/shardingsphere-jdbc.yml
|
||
thymeleaf:
|
||
mode: LEGACYHTML5
|
||
cache: false
|
||
jackson:
|
||
time-zone: GMT+8
|
||
date-format: yyyy-MM-dd HH:mm:ss
|
||
profiles:
|
||
active: dev
|
||
|
||
#上传文件的最大值(100M)
|
||
servlet:
|
||
multipart:
|
||
max-file-size: 100MB
|
||
max-request-size: 100MB
|
||
|
||
main:
|
||
allow-bean-definition-overriding: true
|
||
|
||
mybatis:
|
||
configuration:
|
||
#自动将数据库带下划线的表字段值映射到Java类的驼峰字段上
|
||
map-underscore-to-camel-case: true
|
||
mapper-locations: mybatis/**/*Mapper.xml
|
||
typeAliasesPackage: com.java2nb.**.domain
|
||
|
||
logging:
|
||
config: classpath:logback-boot.xml
|