xiaoyong931011
2021-07-14 cf148cae4937f807347e56d94b2dc96c9f258c59
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#spring.mail.host=smtp.qq.com
#spring.mail.username=zan7755@qq.com
#spring.mail.password=larzjtymashjghbb
#spring.mail.default-encoding=UTF-8
#spring.mail.error.subject=\u3010\u5C0F\u68D5\u718A\u4E1A\u52A1\u7CFB\u7EDF\u3011\u7CFB\u7EDF\u6545\u969C
#spring.mail.error.to=zhongzan@cnxzx.com,dengyijun@cnxzx.com,yuxinkai@cnxzx.com
#management.endpoints.web.exposure.include=*
#management.endpoint.health.show-details=always
#management.endpoints.web.exposure.exclude=beans,configprops,flyway,liquidbase,sessions,shutdown,mappings,heapdump,auditevents
#management.endpoint.logfile.external-file=./logs/mst-mobile.log
 
 
#log
project.log.path=xzx/logs
logstash.server.url=localhost:4560
 
#spring
spring.main.allow-bean-definition-overriding=true
spring.jmx.enabled=false
 
#druid
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.druid.initial-size=5
spring.datasource.druid.min-idle=5
spring.datasource.druid.max-active=200
spring.datasource.druid.max-wait=60000
spring.datasource.druid.test-while-idle=true
spring.datasource.druid.time-between-eviction-runs-millis=60000
spring.datasource.druid.min-evictable-idle-time-millis=30000
spring.datasource.druid.validation-query=select 'x'
spring.datasource.druid.test-on-borrow=false
spring.datasource.druid.test-on-return=false
spring.datasource.druid.max-pool-prepared-statement-per-connection-size=20
spring.datasource.druid.use-global-data-source-stat=true
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/*
spring.datasource.druid.web-stat-filter.session-stat-enable=false
spring.datasource.druid.web-stat-filter.session-stat-max-count=100
spring.datasource.druid.web-stat-filter.principal-session-name=user
spring.datasource.druid.web-stat-filter.principal-cookie-name=
spring.datasource.druid.web-stat-filter.profile-enable=true
spring.datasource.druid.stat-view-servlet.enabled=true
spring.datasource.druid.stat-view-servlet.url-pattern=/druid/*
spring.datasource.druid.stat-view-servlet.reset-enable=true
spring.datasource.druid.stat-view-servlet.login-username=admin
spring.datasource.druid.stat-view-servlet.login-password=admin!@#00
spring.datasource.druid.stat-view-servlet.allow=127.0.0.1
spring.datasource.druid.stat-view-servlet.deny=
spring.datasource.druid.filter.config.enabled=false
spring.datasource.druid.filter.stat.enabled=true
spring.datasource.druid.filter.stat.db-type=mysql
spring.datasource.druid.filter.stat.log-slow-sql=true
spring.datasource.druid.filter.stat.slow-sql-millis=5000
spring.datasource.druid.filter.stat.merge-sql=true
spring.datasource.druid.filter.wall.enabled=true
spring.datasource.druid.filter.wall.db-type=mysql
spring.datasource.druid.filter.wall.config.delete-allow=true
spring.datasource.druid.filter.wall.config.drop-table-allow=true
spring.datasource.druid.default-auto-commit=false
 
 
#spring.datasource.url=jdbc:mysql://localhost:3306/t_xzxdev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useAffectedRows=true
 
#rabbitmq\u914D\u7F6E
#spring.rabbitmq.connection-timeout=15000s
#spring.rabbitmq.template.receive-timeout=10s
#spring.rabbitmq.template.retry.enabled=false
spring.rabbitmq.publisher-confirms=true
spring.rabbitmq.publisher-returns=true
 
#session
spring.session.store-type=redis
server.servlet.session.timeout=60m
server.servlet.session.cookie.path=/
 
#jakson
spring.jackson.default-property-inclusion=non_null
 
#mybatis
mybatis.config-location=classpath:mybatis-config.xml
mybatis.mapper-locations=classpath*:mapper/**/*.xml
mapper.mappers=com.xzx.gc.util.GcMapper
 
#mybatis pagehelper
pagehelper.helperDialect=mysql
#\u5F53\u8BE5\u53C2\u6570\u8BBE\u7F6E\u4E3A true \u65F6\uFF0CpageNum<=0 \u65F6\u4F1A\u67E5\u8BE2\u7B2C\u4E00\u9875\uFF0C pageNum>pages\uFF08\u8D85\u8FC7\u603B\u6570\u65F6\uFF09\uFF0C\u4F1A\u67E5\u8BE2\u6700\u540E\u4E00\u9875\u3002\u9ED8\u8BA4false \u65F6\uFF0C\u76F4\u63A5\u6839\u636E\u53C2\u6570\u8FDB\u884C\u67E5\u8BE2\u3002
pagehelper.reasonable=false
pagehelper.supportMethodsArguments=true
#\u5F53\u8BE5\u53C2\u6570\u8BBE\u7F6E\u4E3A true \u65F6\uFF0C\u5982\u679C pageSize=0 \u6216\u8005 RowBounds.limit = 0 \u5C31\u4F1A\u67E5\u8BE2\u51FA\u5168\u90E8\u7684\u7ED3\u679C\uFF08\u76F8\u5F53\u4E8E\u6CA1\u6709\u6267\u884C\u5206\u9875\u67E5\u8BE2\uFF0C\u4F46\u662F\u8FD4\u56DE\u7ED3\u679C\u4ECD\u7136\u662F Page \u7C7B\u578B\uFF09\u3002
pagehelper.pageSizeZero=true
pagehelper.params=count=countSql