2. 公众号模板消息结构调整,增加订单待支付消息 3. 微信支付附加信息添加描述 4. 交易信息中添加微信支付API类型字段 5. 微信支付 添加native支付功能 6. 云平台对于公司订单,添加多条扫码支付功能 7. 优化代码结构
81 lines
2.6 KiB
YAML
81 lines
2.6 KiB
YAML
# 1. server
|
||
server:
|
||
port: 9104
|
||
servlet:
|
||
context-path: /wechat
|
||
# 2.log
|
||
logging:
|
||
config: classpath:logback-spring.xml
|
||
level:
|
||
'[com.evotech.hd.wechat.dao]': debug
|
||
# 3.spring
|
||
spring:
|
||
# 服务名称必须带上,不然nacos服务列表中没有,也不会有注册成功的信息
|
||
application:
|
||
name: wechat-server
|
||
config:
|
||
import:
|
||
- nacos:${spring.application.name}.yaml?refreshEnabled=true
|
||
cloud:
|
||
nacos:
|
||
serverAddr: 192.168.5.213:8848
|
||
username: nacos
|
||
password: nacos
|
||
discovery:
|
||
register-enabled: true
|
||
#server-addr: 10.10.1.6:8848
|
||
# ip: 10.10.1.2
|
||
# 因添加了context-path,admin-server要想发现正确路径,需要加这个
|
||
metadata:
|
||
management:
|
||
context-path: ${server.servlet.context-path}/actuator
|
||
# 为springbootadmin开启所有检查
|
||
management:
|
||
endpoints:
|
||
web:
|
||
exposure:
|
||
include: "*"
|
||
endpoint:
|
||
health:
|
||
show-details: always
|
||
# xml文件中配置的日志文件的名称
|
||
logfile:
|
||
external-file: /logs/wechat/wechat-server.log
|
||
|
||
# 微信
|
||
hbyt:
|
||
# 小程序
|
||
xcx:
|
||
appid: wx2ab384cf1e6f85a1
|
||
app-secret: 6c55a398703529358eac398e2bc89ae2
|
||
mchid: 1695885921
|
||
api_v3_key: KUSjZPPw96rVR2XvyBXHps3o7MvaAA0x
|
||
# 商户私钥序列号
|
||
serial_no: 32B3AF8FD49920B7455E6A38B7A2AFE9004632D0
|
||
# 商户API证书私钥
|
||
private_key_path: src/main/resources/static/key/apiclient_key.pem
|
||
# 微信支付公钥ID
|
||
public_key_id: PUB_KEY_ID_0116958859212025012300219100001373
|
||
# 微信支付公钥
|
||
public_key_path: src/main/resources/static/key/pub_key.pem
|
||
# 支付回调地址
|
||
notify_url: https://api.evo-techina.com/wechat/wechatpay/prepayback/msg
|
||
# Native支付回调地址
|
||
native_notify_url: https://api.evo-techina.com/wechat/wechatpay/native/nativeback/msg
|
||
# 退款回调地址
|
||
refund_notify_url: https://api.evo-techina.com/wechat/wechatpay/refundsback/msg
|
||
# token缓存时效:小时
|
||
token_exp_hour: 2
|
||
# 公众号
|
||
gzh:
|
||
appid: wx268e32962db19f5f
|
||
app-secret: 84a6065165ec82862c5e03a010a6dc6c
|
||
token: r7YASMj3S9vCeeyJPpKeFPR9drhFaSDt
|
||
encodingAESKey: W3zDuKYFMUlYUXpT4AhRSPkqMS7CgcmnEVQ3enVcTtf
|
||
pre_order_template_id: 4eknqqZhEqW7_3xSYLskvPUX193irbalhdHjOSY88-g
|
||
order_start_template_id: L_AsG7s7DOyyz4dXLb8gIi7h4Sy__ifEAL1Mo8gAw4E
|
||
order_swap_end_template_id: wGll5W3NSHXkHjcEprjUbd1shigGOqywGX7A0BVnzUs
|
||
order_to_pay_template_id: IE0_RGuN5ufU4GFrCgM9JeUfvlWfbneEuUMDsn0RBQs
|
||
order_end_template_id: C5-AGh67aFXChQONqSwxaRrJgFrn_Z25VTlTk0jHSUY
|
||
wallet_recharge_template_id: 8JXsn_VkI0S0YZSbT2EKmV_zOxyudo4IsBLeU7V-SFk
|
||
|