#\u8BBE\u7F6E\u7AEF\u53E3
|
server.port=8387
|
#\u8BBE\u7F6E\u7A7A\u95F4\u540D\u79F0
|
server.servlet.context-path=/phip
|
|
logging.config=classpath:log4j2-local.xml
|
|
#\u8BBE\u7F6E\u6570\u636E\u5E93\u8FDE\u63A5
|
spring.datasource.url=jdbc:mysql://localhost:3306/medical?useUnicode=true&characterEncoding=UTF-8
|
spring.datasource.username=root
|
spring.datasource.password=admin
|
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
|
#\u8BBE\u7F6E\u76D1\u63A7\u8D26\u53F7
|
spring.datasource.druid.stat-view-servlet.login-username=admin
|
spring.datasource.druid.stat-view-servlet.login-password=123456
|
|
#\u6307\u5B9A\u4E34\u65F6\u6587\u4EF6\u5B58\u653E\u4F4D\u7F6E
|
server.tomcat.basedir = /usr/app/upload
|
|
#\u6253\u5370
|
mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
|
|
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
spring.datasource.druid.filters=stat,wall,log4j
|
spring.datasource.druid.initial-size=10
|
spring.datasource.druid.max-active=50
|
spring.datasource.druid.min-idle=10
|
spring.datasource.druid.max-wait=20
|
spring.datasource.druid.time-between-eviction-runs-millis=60000
|
spring.datasource.druid.min-evictable-idle-time-millis=300000
|
spring.datasource.druid.test-on-borrow=true
|
spring.datasource.druid.test-while-idle=false
|
|
spring.datasource.druid.stat-view-servlet.enabled=true
|
spring.datasource.druid.stat-view-servlet.allow=127.0.0.1
|
spring.datasource.druid.stat-view-servlet.url-pattern=/druid/*
|
|
spring.datasource.druid.web-stat-filter.enabled= true
|
spring.datasource.druid.web-stat-filter.url-pattern=/*
|
spring.datasource.druid.web-stat-filter.exclusions='*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*'
|
|
# mybatis \u6587\u4EF6\u52A0\u8F7D\u8BBE\u7F6E
|
mybatis.type-aliases-package=com.hx.medical.model
|
mybatis.mapperLocations=classpath*:/mapper/*.xml,classpath*:com/gitee/sunchenbin/mybatis/actable/mapping/*/*.xml
|
|
#mysql\u81EA\u52A8\u5EFA\u8868
|
mybatis.table.auto=update
|
mybatis.model.pack=
|
mybatis.database.type=mysql
|
|
#\u8BBE\u7F6E\u65F6\u95F4\u683C\u5F0F
|
spring.jackson.date-format = yyyy-MM-dd HH:mm:ss
|
spring.jackson.time-zone = GMT+8
|
|
#\u8BBE\u7F6E\u6587\u4EF6\u5927\u5C0F
|
spring.servlet.multipart.max-file-size=10MB
|
spring.servlet.multipart.max-request-size=10MB
|
|
#\u8BBE\u7F6E\u5206\u9875
|
pagehelper.helper-dialect=mysql
|
pagehelper.params=count=countSql
|
pagehelper.reasonable=true
|
pagehelper.support-methods-arguments=true
|
|
|
#redis\uFFFD\uFFFD\uFFFD\uFFFD
|
# Redis\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u05B7
|
spring.redis.host=r-bp16fgy4t2giny01ovpd.redis.rds.aliyuncs.com
|
#spring.redis.host=127.0.0.1
|
# Redis\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u04F6\u02FF\uFFFD
|
spring.redis.port=6379
|
# Redis\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uB8E8\u012C\uFFFD\uFFFD\u03AA\uFFFD\u0563\uFFFD
|
spring.redis.password=UYWoCz#4^@w5Soj*
|
#spring.redis.password=
|
# \uFFFD\uFFFD\uFFFD\u04F3\uFFFD\u02B1\u02B1\uFFFD\u48E8\uFFFD\uFFFD\uFFFD\uB8E9
|
spring.redis.timeout=1000
|