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.

75 lines
2.0 KiB
YAML

5 years ago
server:
5 years ago
port: 8888
5 years ago
servlet:
context-path: /api/
5 years ago
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:
5 years ago
type-aliases-package: com.bsd.cases.model
5 years ago
mapper-locations: classpath:mapper/*.xml
5 years ago
configuration:
map-underscore-to-camel-case: true
5 years ago
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
5 years ago
upload:
path: /tmp/upload/
export:
path: /tmp/export/
5 years ago
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
5 years ago
oss:
5 years ago
bucket: bsd-cases-oss
5 years ago
endpoint: oss-cn-shanghai.aliyuncs.com
5 years ago
accessId: LTAI4GGQ5kctFjwWCotNKBS4
accessKey: bE00QP1WdBlxk7vFGdIA3rxZikP7HY
5 years ago
maxFileSize: 10240KB
maxRequestSize: 102400KB
5 years ago
filedir: cases/