rk
15 小时以前 ab9cd2c82bd64de8e33510db1d1e78a5b3b4de70
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
package com.doumee.config.wx;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
/**
 * Created by IntelliJ IDEA.
 *
 * @Author : Rk
 * @create 2023/3/22 18:04
 */
@Component
@ConfigurationProperties(prefix = "wx.pay")
@Data
public class WxPayProperties {
 
 
    /**
     * AppID
     */
    private String appId;
 
    /**
     * AppSecret
     */
    private String appSecret;
 
    /**
     * 微信商户号
     */
    private String mchId;
 
    /**
     * 支付API密钥
     */
    private String mchKey;
 
    /**
     * 支付回调地址
     */
    private String notifyUrl;
 
    /**
     * V3支付回调地址
     */
    private String v3NotifyUrl;
 
    /**
     * V3退款回调地址
     */
    private String v3RefundNotifyUrl;
 
    /**
     * 支付证书(p12)
     */
    private String keyPath;
 
 
 
    /**
     * apiV3Key
     */
    private String apiV3Key;
 
 
 
    /**
     * 商户证书序列号
     */
    private String serialNumer;
 
    /**
     * 退款回调
     */
    private String refundNotifyUrl;
 
    /**
     * 商户支付公钥
     */
    private String pubKeyPath;
 
 
    /**
     * 支付秘钥
     */
    private String privateCertPath;
 
    /**
     * 支付key
     */
    private String privateKeyPath;
 
 
    /**
     * 微信支付公钥ID
     */
    private String publicKeyId;
 
}