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.

56 lines
1.4 KiB
YAML

6 years ago
server:
port: 8080
spring:
datasource:
name: druidDataSource
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://10.10.1.178:3306/bo_social?useUnicode=true&characterEncoding=UTF-8
username: root
password: Ribo@2017
filters: stat,wall
max-active: 100
initial-size: 1
max-wait: 60000
min-idle: 1
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
validation-query: select 'x'
test-while-idle: true
test-on-borrow: false
test-on-return: false
pool-prepared-statements: true
max-open-prepared-statements: 50
max-pool-prepared-statement-per-connection-size: 20
mvc:
view:
prefix: /templates/
suffix: .ftl
freemarker:
cache: false
request-context-attribute: request
logging:
config: classpath:log4j2.yml
mybatis:
type-aliases-package: com.oceanspot.template.util.model
mapper-locations: classpath:mapper/*.xml
mapper:
mappers: com.bsd.cases.util.CommonMapper
not-empty: false
identity: MYSQL
pagehelper:
helper-dialect: mysql
reasonable: true
support-methods-arguments: true
params: count=countSql
wx:
BASE_URI: https://api.weixin.qq.com
ACCESS_TOKEN_URL: https://api.weixin.qq.com/cgi-bin/token
APPID: wx9b6296b7f15cf264
APPSECRET: 81b1aca92c834a180c6e927a81874819