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