wlzboy
2025-12-03 656d6f8029f8bf9b2daa9dcc89101a879a70b860
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
package com.ruoyi.payment.infrastructure.config;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
/**
 * 微信支付配置
 * 
 * @author ruoyi
 */
@Data
@Component
@ConfigurationProperties(prefix = "payment.wechat")
public class WechatPayConfig {
 
    /** 应用ID */
    private String appId;
 
    /** 商户号 */
    private String mchId;
 
    /** 商户密钥 */
    private String mchKey;
 
    /** 回调地址 */
    private String notifyUrl;
 
    /**
     * 回调是否检查签名
     */
    private Boolean checkSign=true;
 
    /** 签名类型 */
    private String signType = "MD5";
 
    /**
     * 第三方支付配置
     */
    private ThirdPartyConfig thirdParty = new ThirdPartyConfig();
 
}