guang
2023-05-06 7201205af85508421037119ba66b3a6a48de61ec
提交 | 用户 | age
9e1c8d 1 server.port=8080
G 2
3 logging.config=classpath:log4j2-local.xml
4
720120 5 spring.datasource.write.url=jdbc:mysql://localhost:3306/phi_other_service?useUnicode=true&characterEncoding=UTF-8
G 6 spring.datasource.write.username=root
7 spring.datasource.write.password=root
8 spring.datasource.write.driverClassName=com.mysql.cj.jdbc.Driver
566411 9
720120 10 spring.datasource.read.jdbc-url=jdbc:mysql://localhost:3306/phi_other_service_read?useUnicode=true&characterEncoding=UTF-8
G 11 spring.datasource.read.username=root
12 spring.datasource.read.password=root
566411 13 spring.datasource.read.driver-class-name=com.mysql.cj.jdbc.Driver
9e1c8d 14
G 15 logging.level.org.springframework.boot.autoconfigure = error
16
566411 17 spring.datasource.write.type=com.alibaba.druid.pool.DruidDataSource
720120 18 spring.datasource.write.filters=stat,wall,log4j
G 19 spring.datasource.write.initial-size=10
20 spring.datasource.write.max-active=50
21 spring.datasource.write.min-idle=10
22 spring.datasource.write.max-wait=20
23 spring.datasource.write.time-between-eviction-runs-millis=60000
24 spring.datasource.write.min-evictable-idle-time-millis=300000
25 spring.datasource.write.test-on-borrow=true
26 spring.datasource.write.test-while-idle=false
9e1c8d 27
G 28 mybatis.type-aliases-package=com.hx.other.servcie.model
29 mybatis.mapperLocations=com/hx/other/service/dao/mapper/xml/*.xml,classpath*:com/gitee/sunchenbin/mybatis/actable/mapping/*/*.xml,classpath*:mapper/*.xml
30
31 #mybatis
32 mybatis.table.auto=update
33 mybatis.model.pack=com.hx.other.service.model
34 mybatis.database.type=mysql
35
36 spring.jackson.date-format= yyyy-MM-dd HH:mm:ss
37 spring.jackson.time-zone=GMT+8
38
39 pagehelper.helper-dialect=mysql
40 pagehelper.params=count=countSql
41 pagehelper.reasonable=true
42 pagehelper.support-methods-arguments=true
6044ac 43
G 44 forest.timeout=10000