spring:
|
# 数据源配置
|
datasource:
|
url: jdbc:mysql://192.168.0.211:3306/jinkuai?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
|
username: root
|
password: Doumee@168
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
type: com.alibaba.druid.pool.DruidDataSource
|
redis:
|
# database: 0
|
host: 127.0.0.1
|
port: 6379
|
password:
|
timeout: 5000 # 连接池中的最小空闲连接
|
jackson:
|
time-zone: GMT+8
|
date-format: yyyy-MM-dd HH:mm:ss
|
# mail:
|
# username: jiangping0849@outlook.com
|
# password: mwzaislgioyhxnig
|
# host: smtp-mail.outlook.com
|
# port: 587
|
# default-encoding: UTF-8
|
# properties:
|
# mail:
|
# debug: true
|
# smtp:
|
# ssl:
|
# socketFactory:
|
# class: com.sun.mail.util.MailSSLSocketFactory
|
# fallback: false
|
# auth: true
|
# starttls:
|
# enable: true
|
# required: true
|
mail:
|
host: smtp.exmail.qq.com
|
username: jp@doumee.com
|
password: 2Jz9HFW2U7vRnCRu
|
default-encoding: UTF-8
|
properties:
|
mail:
|
smtp:
|
auth: true
|
starttls:
|
enable: true
|
required: true
|
|
debug_model: true
|
|
# Swagger配置
|
swagger:
|
host:
|
title: ${project.name}接口文档
|
description: ${project.name}接口文档
|
# 启用Swagger,生产环境建议关闭
|
enabled: true
|
# 启用swagger加密
|
enable-encrypt: true
|
# 禁用swagger时的重定向地址
|
redirect-uri: /
|
|
|
des_pwd: 123456SDFKDJF
|
knife4j:
|
enable: true
|
basic:
|
enable: true
|
username: admin
|
password: 111111
|
|
########################微信支付相关配置########################
|
wx:
|
pay:
|
#服务商---------start-------
|
appId: wx48fd8faa35cc8277
|
mchId: 1661770902
|
apiV3Key: iF3kC8pL8dZ9iU3hN5fX9zI6eF4xQ6fT
|
serialNumer: 368B835A194384FD583B83B77977B84127D2F655
|
mchKey: W97N53Q71326D6JZ2E9HY5M4VT4BAC8S
|
# notifyUrl: http://xiaopiqiu3.natapp1.cc/api/wxPayNotify
|
# refundNotifyUrl: http://xiaopiqiu3.natapp1.cc/api/wxRefundNotify
|
notifyUrl: https://dmtest.ahapp.net/bike_h5_api/api/wxPayNotify
|
refundNotifyUrl: https://dmtest.ahapp.net/bike_h5_api/api/wxRefundNotify
|
keyPath: /usr/local/aliConfig/bike/apiclient_cert.p12
|
privateCertPath: /usr/local/aliConfig/bike/apiclient_cert.pem
|
privateKeyPath: /usr/local/aliConfig/bike/apiclient_key.pem
|
# keyPath: d://apiclient_cert.p12
|
# privateCertPath: d://apiclient_cert.pem
|
# privateKeyPath: d://apiclient_key.pem
|
#服务商-------------end---
|
existsSub: 1
|
appSecret: 1ceb7c9dff3c4330d653adc3ca55ea24
|
#子商户------------start----
|
subAppId: wxcd2b89fd2ff065f8 #wxcd2b89fd2ff065f8
|
subAppSecret: 3462fa186da7cb06c544df8d8664b63a #3336812504c830b1c3c5243f9ece407a
|
subMchId: 1661772003
|
subMchKey: EVM8E15TKXE0OEMJFC0V6UFVIOZ5CSQS
|
#子商户------------end----
|
# mchKey: u4TSNtv0wFP7WRfnxBgijYOtRhS9FvlM
|
typeId: gybike
|
|
upload:
|
type: blob
|
|
qiwei:
|
serviceurl: https://qyapi.weixin.qq.com
|