jiangping
2024-11-05 c9ef2687d3460da668d08d58dee6af468ed6693e
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
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;
 
    /**
     * AppSecret
     */
    private String appSecret;
 
    /**
     * 微信商户号
     */
    private String mchId;
 
    /**
     * 支付API密钥
     */
    private String mchKey;
 
    /**
     * 支付回调地址
     */
    private String notifyUrl;
 
    /**
     * 支付证书(p12)
     */
    private String keyPath;
 
}