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.

60 lines
1.6 KiB
YAML

5 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://47.100.216.66:3306/bsd_cases?useUnicode=true&characterEncoding=UTF-8
username: root
password: Bsd@2019
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
SEND_MESSAGE_URL: https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=
SIGNUP_TEMPLATE_ID: wqbPcPHkoThymDu51V1ib2FxI6kC5VFOES0mXJy4nDc
CANCEL_TEMPLATE_ID: MZGrdIYaXSIgJtZqf1Li_oh3IbqiAFqXWR-iUOhcg1c
CHANGE_TEMPLATE_ID: PVuWhUHeKuX-DeqtXDOaccJJht89JKartyqhsh_sHTk