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------- 参数详解地址 https://pay.weixin.qq.com/doc/v3/partner/4013080340
|
mchId: 1700071922 #服务商在微信支付侧的唯一身份标识
|
appId: wx6cc1087ca79db7f6 #服务商在微信开放平台(移动应用)或公众平台(公众号/小程序)上申请的一个唯一标识
|
apiV3Key: 0a056faa107c2b2944b9d6a9aa6d4142 #7tG4Vk9Zp2L8dXw5Jq0N3hR6yE1sF3cB
|
serialNumer: 6696086F6EFB8D6A4F821BD47DDBAF75C3BC1209 #38495CE0137D90E4DC4F64F7ECDE035A35470BE3 #服务商证书序列号
|
payPublicKeyId: PUB_KEY_ID_0117000719222024112700219100000508 #商户/平台支付公钥id
|
#mchKey: W97N53Q71326D6JZ2E9HY5M4VT4BAC8S
|
notifyUrl: https://test.doumee.cn/jinkuai_admin/web/wxPayNotify
|
refundNotifyUrl: https://test.doumee.cn/jinkuai_admin/web/wxRefundNotify
|
keyPath: /usr/local/jars/payFile/apiclient_cert.p12
|
privateCertPath: /usr/local/jars/payFile/apiclient_cert.pem
|
privateKeyPath: /usr/local/jars/payFile/apiclient_key.pem
|
pubKeyPath: /usr/local/jars/payFile/pub_key.pem #商户支付公钥
|
|
#服务商-------------end---
|
|
#商户信息
|
wechatSerialNumer: 12C0F0DD0F3D2B565B45586D3FEA225EBF723BEC
|
wechatPayPublicKeyId: PUB_KEY_ID_0117233260692025072500181939000603 #商户/平台支付公钥id
|
wechatPubKeyPath: /usr/local/jars/payFile/shanghu/pub_key.pem #商户支付公钥
|
wechatPrivateKeyPath: /usr/local/jars/payFile/shanghu/apiclient_key.pem #商户私钥
|
wechatNotifyUrl: https://test.doumee.cn/jinkuai_admin/web/wechat/transferNotify #商户转账回调地址
|
wechatApiV3Key: 7tG4Vk9Zp2L8dXw5Jq0N3hR6yE1sF3cB
|
|
|
existsSub: 1
|
appSecret:
|
#子商户------------start----
|
subMchId: 1723326069 #子商户号
|
subAppId: wx332441ae5b12be7d #小程序id
|
subAppSecret: add86d6406f5c14501ac5bbb1a60e004 #小程序秘钥
|
#子商户------------end----
|
# mchKey: u4TSNtv0wFP7WRfnxBgijYOtRhS9FvlM
|
typeId: jinkuai
|
|
upload:
|
type: blob
|
|
qiwei:
|
serviceurl: https://qyapi.weixin.qq.com
|