|
|
|
|
#\u6D4B\u8BD5\u7AEF\u53E3
|
|
|
|
|
server.port=8082
|
|
|
|
|
|
|
|
|
|
server.tomcat.max-http-form-post-size=50MB
|
|
|
|
|
|
|
|
|
|
#\u65E5\u5FD7\u8F93\u51FA
|
|
|
|
|
logging.config=classpath:logback-spring.xml
|
|
|
|
|
logging.level.com.kg.KgMediaCloud.mapper=debug
|
|
|
|
|
|
|
|
|
|
#\u914D\u7F6E\u5B9A\u65F6\u4EFB\u52A1\u7EBF\u7A0B\u6C60
|
|
|
|
|
spring.task.scheduling.pool.size=100
|
|
|
|
|
spring.task.scheduling.thread-name-prefix=KgLowDurable
|
|
|
|
|
|
|
|
|
|
#JDBC\u8FDE\u63A5
|
|
|
|
|
#Mysql6\u4EE5\u4E0Acom.mysql.cj.jdbc.Driver
|
|
|
|
|
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
|
|
|
|
#Mysql6\u4EE5\u4E0A\u9700\u52A0serverTimezone=GMT%2B8 \u5426\u5219\u4F1A\u4E0E\u7CFB\u7EDF\u65F6\u533A\u6709\u5DEE\u5F02\u9020\u6210\u5F02\u5E38
|
|
|
|
|
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/smartpark_durable?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
|
|
|
|
|
spring.datasource.username=root
|
|
|
|
|
spring.datasource.password=root
|
|
|
|
|
#MYSQL 8\u5C0F\u65F6\u8FDE\u63A5\u8D85\u65F6\u914D\u7F6E
|
|
|
|
|
#\u9A8C\u8BC1\u8FDE\u63A5\u7684\u6709\u6548\u6027
|
|
|
|
|
spring.datasource.test-while-idle=true
|
|
|
|
|
#\u83B7\u53D6\u8FDE\u63A5\u65F6\u5019\u9A8C\u8BC1\uFF0C\u4F1A\u5F71\u54CD\u6027\u80FD
|
|
|
|
|
spring.datasource.test-on-borrow=true
|
|
|
|
|
spring.datasource.validation-query=SELECT 1
|
|
|
|
|
#\u7A7A\u95F2\u8FDE\u63A5\u56DE\u6536\u7684\u65F6\u95F4\u95F4\u9694\uFF0C\u4E0Etest-while-idle\u4E00\u8D77\u4F7F\u7528\uFF0C\u8BBE\u7F6E5\u5206\u949F
|
|
|
|
|
spring.datasource.time-between-eviction-runs-millis=300000
|
|
|
|
|
#\u8FDE\u63A5\u6C60\u7A7A\u95F2\u8FDE\u63A5\u7684\u6709\u6548\u65F6\u95F4 \uFF0C\u8BBE\u7F6E30\u5206\u949F
|
|
|
|
|
spring.datasource.min-evictable-idle-time-millis=1800000
|
|
|
|
|
|
|
|
|
|
#mybatis
|
|
|
|
|
mybatis.typeAliasesPackage=com.nov.KgLowDurable.domain
|
|
|
|
|
mybatis.mapperLocations=classpath:mapper/*.xml
|
|
|
|
|
|
|
|
|
|
##pageHelper\u5206\u9875\u63D2\u4EF6
|
|
|
|
|
pagehelper.helper-dialect=MYSQL
|
|
|
|
|
pagehelper.reasonable=false
|
|
|
|
|
pagehelper.support-methods-arguments=true
|
|
|
|
|
pagehelper.params=count=countSql
|
|
|
|
|
|
|
|
|
|
#swagger\u914D\u7F6E\u5F00\u542F\u5173\u95ED
|
|
|
|
|
mconfig.swagger-ui-open=true
|
|
|
|
|
|
|
|
|
|
#mybatis-plus
|
|
|
|
|
mybatis-plus.configuration.map-underscore-to-camel-case=true
|
|
|
|
|
mybatis-plus.configuration.auto-mapping-behavior=full
|
|
|
|
|
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
|
#mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.nologging.NoLoggingImpl
|
|
|
|
|
mybatis-plus.mapper-locations=classpath:mapper/*.xml
|
|
|
|
|
|
|
|
|
|
qywx.cropId=
|
|
|
|
|
qywx.agentId=
|
|
|
|
|
qywx.secret=
|
|
|
|
|
qywx.token=
|
|
|
|
|
qywx.encodingAesKey=
|
|
|
|
|
|
|
|
|
|
isc.ip=
|
|
|
|
|
isc.port=
|
|
|
|
|
|
|
|
|
|
path.upload=
|
|
|
|
|
path.virtualPath=
|
|
|
|
|
path.download=
|
|
|
|
|
|
|
|
|
|
spring.servlet.multipart.enabled=true
|
|
|
|
|
spring.servlet.multipart.file-size-threshold=0
|
|
|
|
|
|
|
|
|
|
spring.mvc.async.request-timeout=100000
|
|
|
|
|
spring.servlet.multipart.max-file-size =500MB
|
|
|
|
|
spring.servlet.multipart.max-request-size =500MB
|
|
|
|
|
spring.redis.host=localhost
|
|
|
|
|
spring.redis.port=6379
|
|
|
|
|
spring.redis.password=
|
|
|
|
|
spring.redis.database=0
|
|
|
|
|
spring.redis.timeout=3000ms
|
|
|
|
|
spring.redis.connect-timeout=2000ms
|
|
|
|
|
|