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
|
|
qiwei:
|
serviceurl: https://qyapi.weixin.qq.com
|
|
aes:
|
encrypt:
|
open: true # 是否开启加密 true or false
|
showLog: true # 是否打印加解密log true or false
|
publicKey: mN4Yn8Or8r7SH1w3 # AES密钥
|
privateKey: # RSA私钥
|
time: 600000
|
|
########################微信支付相关配置########################
|
wx:
|
pay:
|
#服务商---------start------- 参数详解地址 https://pay.weixin.qq.com/doc/v3/partner/4013080340
|
mchId: 1700071922 #服务商在微信支付侧的唯一身份标识
|
appId: wx332441ae5b12be7d #服务商在微信开放平台(移动应用)或公众平台(公众号/小程序)上申请的一个唯一标识
|
apiV3Key: 0a056faa107c2b2944b9d6a9aa6d4142 #7tG4Vk9Zp2L8dXw5Jq0N3hR6yE1sF3cB
|
serialNumer: 7DCD480EB6DF3791721867A6EB57105DECEF38BE #38495CE0137D90E4DC4F64F7ECDE035A35470BE3 #服务商证书序列号
|
#mchKey: W97N53Q71326D6JZ2E9HY5M4VT4BAC8S
|
notifyUrl: https://test.doumee.cn/jinkuai_admin/web/wxPayNotify
|
refundNotifyUrl: https://test.doumee.cn/jinkuai_admin/web/wxRefundNotify
|
keyPath: d://jinkuai/apiclient_cert.p12
|
privateCertPath: d://jinkuai/apiclient_cert.pem
|
privateKeyPath: d://jinkuai/apiclient_key.pem
|
|
#服务商-------------end---
|
|
#商户信息
|
wechatSerialNumer: 38495CE0137D90E4DC4F64F7ECDE035A35470BE3
|
wechatPayPublicKeyId: PUB_KEY_ID_0117233260692025072500181939000603 #商户/平台支付公钥id
|
wechatPubKeyPath: d://jinkuai/shanghu/pub_key.pem #商户支付公钥
|
wechatPrivateKeyPath: d://jinkuai/shanghu/apiclient_key.pem #商户私钥
|
wechatNotifyUrl: https://test.doumee.cn/jinkuai_admin/web/wechat/transferNotify #商户转账回调地址
|
|
|
existsSub: 1
|
appSecret:
|
#子商户------------start----
|
subMchId: 1723326069 #子商户号
|
subAppId: wx332441ae5b12be7d #小程序id
|
subAppSecret: add86d6406f5c14501ac5bbb1a60e004 #小程序秘钥
|
#子商户------------end----
|
# mchKey: u4TSNtv0wFP7WRfnxBgijYOtRhS9FvlM
|
typeId: gybike
|
|
|
#wx:
|
# pay:
|
# #服务商---------start-------
|
# appId: wx48fd8faa35cc8277
|
# mchId: 1661770902
|
# apiV3Key: iF3kC8pL8dZ9iU3hN5fX9zI6eF4xQ6fT
|
# serialNumer: 368B835A194384FD583B83B77977B84127D2F655
|
# mchKey: W97N53Q71326D6JZ2E9HY5M4VT4BAC8S
|
# notifyUrl: https://test.doumee.cn/jinkuai_admin/web/wxPayNotify
|
# refundNotifyUrl: https://test.doumee.cn/jinkuai_admin/web/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: /usr/local/zhengshu/apiclient_cert.p12 #d://apiclient_cert.p12
|
# privateCertPath: /usr/local/zhengshu/apiclient_cert.pem #d://apiclient_cert.pem
|
# privateKeyPath: /usr/local/zhengshu/apiclient_key.pem #d://apiclient_key.pem
|
#
|
#
|
# #商户信息
|
# wechatSerialNumer: 3C9A32FB6CD453FAAAF97F9737ECAEA9D6625727
|
# wechatPayPublicKeyId: 47E172124E73E8098A565E971064C20ACDE7C911 # PUB_KEY_ID_0116617720032025071800291849000801 #商户/平台支付公钥id
|
# wechatPubKeyPath: /usr/local/zhengshu/pub_key.pem #d://pub_key.pem #商户支付公钥
|
# #wechatPlatformPubKeyPath: d:/wechatpay_47E172124E73E8098A565E971064C20ACDE7C911.pem #平台支付公钥
|
# wechatPrivateKeyPath: /usr/local/zhengshu/wechatApiclient_key.pem #d://wechatApiclient_key.pem #商户私钥
|
# wechatNotifyUrl: https://test.doumee.cn/jinkuai_admin/web/wechat/transferNotify #商户转账回调地址
|
# #wechatApiV3Key: V4PRKUBTK2BKNKJAD9NSI9YFG2Q0EOT1 #商户APIV3Key
|
#
|
#
|
# #服务商-------------end---
|
# existsSub: 1
|
# appSecret: 1ceb7c9dff3c4330d653adc3ca55ea24
|
# #子商户------------start----
|
# subAppId: wxcd2b89fd2ff065f8 #wxcd2b89fd2ff065f8
|
# subAppSecret: 3462fa186da7cb06c544df8d8664b63a #3336812504c830b1c3c5243f9ece407a
|
# subMchId: 1661772003
|
# subMchKey: EVM8E15TKXE0OEMJFC0V6UFVIOZ5CSQS
|
# #子商户------------end----
|
# # mchKey: u4TSNtv0wFP7WRfnxBgijYOtRhS9FvlM
|
# typeId: gybike
|
|
upload:
|
type: ftp
|