application.yml
1.3 KB
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
server:
port: 8008
spring:
freemarker:
template-loader-path: classpath:/templates/
prefix:
suffix: .html
##是否允许使用request
allow-request-override: true
request-context-attribute: request
cache: false
check-template-location: true
charset: UTF-8
content-type: text/html;charset=UTF-8
expose-request-attributes: false
expose-session-attributes: false
expose-spring-macro-helpers: false
datasource:
username: SZJXTUSER
password: xst200919
url: jdbc:sqlserver://60.190.202.57:14333;database=SmartPaike
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
filters: stat
maxActive: 20
initialSize: 1
maxWait: 60000
minIdle: 1
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000
validationQuery: select 'x'
testWhileIdle: true
testOnBorrow: false
testOnReturn: false
poolPreparedStatements: true
maxOpenPreparedStatements: 20
mybatis:
mapper-locations: classpath:mapping/*.xml
type-aliases-package: com.jevon.model
#pagehelper
pagehelper:
helperDialect: mysql
reasonable: true
supportMethodsArguments: true
params: count=countSql
#logger
Logger:
level:
com.jevon.mapper: info