You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
928 B
YAML
40 lines
928 B
YAML
6 years ago
|
#服务器端口号配置
|
||
|
server:
|
||
|
port: 8080
|
||
|
#数据源配置
|
||
|
spring:
|
||
|
# mvc:
|
||
|
# dispatch-options-request: true
|
||
|
datasource:
|
||
|
url: jdbc:mysql://49.234.86.236:3306/oa?useUnicode=true&characterEncoding=UTF-8
|
||
|
username: oa
|
||
|
password: '!Oa.123_'
|
||
|
driver-class-name: com.mysql.jdbc.Driver
|
||
|
type: com.alibaba.druid.pool.DruidDataSource
|
||
|
druid:
|
||
|
initial-size: 1
|
||
|
max-active: 20
|
||
|
min-idle: 1
|
||
|
test-on-borrow: true
|
||
|
stat-view-servlet:
|
||
|
allow: true
|
||
|
|
||
|
#日志配置 log4j2
|
||
|
#logging:
|
||
|
# config: classpath:log4j2.yml
|
||
|
|
||
|
|
||
|
#mybatis配置
|
||
|
mybatis:
|
||
|
type-aliases-package: com.oceanspot.template.util.model
|
||
|
mapper-locations: classpath:mapper/*.xml
|
||
|
mapper:
|
||
|
mappers: com.huishuitong.util.CommonMapper
|
||
|
not-empty: false
|
||
|
identity: MYSQL
|
||
|
pagehelper:
|
||
|
helper-dialect: mysql
|
||
|
reasonable: true
|
||
|
support-methods-arguments: true
|
||
|
params: count=countSql
|