liujie
2025-06-02 1e621d98f4361158df25f2b4af9b53899bfde32f
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
package com.ruoyi.system.utils.wx;
 
 
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
 
@Configuration
@ConfigurationProperties(prefix = WxProperties.WX_PREFIX)
public class WxProperties {
 
    public static final String WX_PREFIX = "wx";
 
    private String memberAppId;
 
    private String memberAppSecret;
    private String appId;
    /**
     * 微信支付商户号
     */
    private String mchId;
    /**
     * 微信支付商户密钥
     */
    private String mchKey;
    /**
     * apiclient_cert.p12文件的绝对路径,或者如果放在项目中,请以classpath:开头指定
     */
    private String keyPath;
 
    private String callbackPath;
 
    private String staffAppId;
 
    private String staffAppSecret;
 
    private String notifyUrl;
 
    public String getNotifyUrl() {
        return notifyUrl;
    }
 
    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }
 
    public String getMemberAppId() {
        return memberAppId;
    }
 
    public void setMemberAppId(String memberAppId) {
        this.memberAppId = memberAppId;
    }
 
    public String getMemberAppSecret() {
        return memberAppSecret;
    }
 
    public void setMemberAppSecret(String memberAppSecret) {
        this.memberAppSecret = memberAppSecret;
    }
 
    public String getStaffAppId() {
        return staffAppId;
    }
 
    public void setStaffAppId(String staffAppId) {
        this.staffAppId = staffAppId;
    }
 
    public String getStaffAppSecret() {
        return staffAppSecret;
    }
 
    public String getMchId() {
        return mchId;
    }
 
    public void setMchId(String mchId) {
        this.mchId = mchId;
    }
 
    public String getMchKey() {
        return mchKey;
    }
 
    public void setMchKey(String mchKey) {
        this.mchKey = mchKey;
    }
 
    public String getKeyPath() {
        return keyPath;
    }
 
    public void setKeyPath(String keyPath) {
        this.keyPath = keyPath;
    }
 
 
    public String getCallbackPath() {
        return callbackPath;
    }
 
    public void setCallbackPath(String callbackPath) {
        this.callbackPath = callbackPath;
    }
 
    public void setStaffAppSecret(String staffAppSecret) {
        this.staffAppSecret = staffAppSecret;
    }
 
    public String getAppId() {
        return appId;
    }
 
    public void setAppId(String appId) {
        this.appId = appId;
    }
}