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
| package com.ruoyi.shop.config;
|
| import lombok.Data;
| import org.springframework.boot.context.properties.ConfigurationProperties;
|
| /**
| * wxpay pay properties.
| *
| * @author Binary Wang
| */
| @Data
| @ConfigurationProperties(prefix = "wx.pay")
| public class WxPayProperties {
| /**
| * 设置微信公众号或者小程序等的appid
| */
| private String appId;
|
| /**
| * 微信支付商户号
| */
| private String mchId;
|
| /**
| * 微信支付商户密钥
| */
| private String mchKey;
|
| /**
| * 服务商模式下的子商户公众账号ID,普通模式请不要配置,请在配置文件中将对应项删除
| */
| private String subAppId;
|
| /**
| * 服务商模式下的子商户号,普通模式请不要配置,最好是请在配置文件中将对应项删除
| */
| private String subMchId;
|
| /**
| * apiclient_cert.p12文件的绝对路径,或者如果放在项目中,请以classpath:开头指定
| */
| private String keyPath;
|
| }
|
|