zhibing.pu
2024-08-24 49148072078220c92f94f2e7ea25cd79a6810fc7
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
package com.ruoyi.payment.ali.config;
 
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
/**
 * @author zhibing.pu
 * @Date 2024/8/23 16:08
 */
@Data
@Component
@ConfigurationProperties(prefix = "payment.ali")
public class AliProperties {
    /**
     * appid
     */
    private String appId;
    /**
     * 加签方式
     */
    private String signType;
    /**
     * 开发者私钥,由开发者自己生成
     */
    private String privateKey;
    /**
     * 支付宝公钥
     */
    private String alipayPublicKey;
    /**
     * 应用公钥证书文件本地路径
     */
    private String appCertPath;
    /**
     * 支付宝公钥证书文件本地路径
     */
    private String alipayPublicCertPath;
    /**
     * 支付宝根证书文件本地路径
     */
    private String rootCertPath;
    /**
     * 回调地址
     */
    private String notifyUrl;
    /**
     * V2接口地址
     */
    private String v2Path = "https://openapi.alipay.com/gateway.do";
    
    
}