jiangping
2025-02-19 b7d7bb82334af8574ad2510b9fa2220581e3f9f2
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
package com.doumee.core.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;
    private String apiV3Key;
 
    /**
     * AppSecret
     */
    private String appSecret;
 
    /**
     * 微信商户号
     */
    private String mchId;
 
    /**
     * 支付API密钥
     */
    private String mchKey;
    /**
     * 支付API密钥
     */
    private String subMchKey;
 
    /**
     * 支付回调地址
     */
    private String notifyUrl;
    /**
     * 退款回调地址
     */
    private String refundNotifyUrl;
 
    /**
     * 支付证书(p12)
     */
    private String keyPath;
    private String serialNumer;
 
    private int existsSub;// true
    private String subAppId;//wxcd2b89fd2ff065f8
    private String subMchId;// 1229817002
    private String subAppSecret;// 1229817002
    private String typeId;// gybike
    private String privateKeyPath ;
    private String privateCertPath;// gybike
 
}