xuhy
2025-01-09 712f70b2936079a131ecb1e63c6d337171618cad
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
package com.stylefeng.guns.modular.cloudPayment.config;
 
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
 
/**
 * @author xiaochen
 * @version 1.0
 * @since 2023/03/24
 */
@Data
@ConfigurationProperties(prefix = "upyzt")
public class UpyztProperties {
 
    /**
     * 平台商户 Id
     */
    @JsonProperty(value = "root-mch-id")
    private String rootMchId;
 
    /**
     * 接口地址
     */
    @JsonProperty(value = "api-base")
    private String apiBase;
 
    /**
     * 加密公钥
     */
    @JsonProperty(value = "encrypt-public-key")
    private String encryptPublicKey;
 
    /**
     * 加签私钥
     */
    @JsonProperty(value = "sign-private-key")
    private String signPrivateKey;
 
    /**
     * 验签公钥
     */
    @JsonProperty(value = "verify-public-key")
    private String verifyPublicKey;
 
}