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
| package com.ruoyi.other.util.payment.wx;
|
| import lombok.Data;
| import org.springframework.boot.context.properties.ConfigurationProperties;
| import org.springframework.stereotype.Component;
|
| /**
| * 微信支付配置类
| */
| @Data
| @Component
| @ConfigurationProperties(prefix = "wx")
| public class WechatPayConfig {
| // 小程序APPID
| private String appId;
| // 商户号
| private String mchId;
| // 商户API密钥
| private String key;
| // 支付结果通知地址
| private String callbackPath;
| // 证书路径
| private String certPath;
| // 商户RAS加密公钥路径
| private String RASPath;
| }
|
|