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;
|
|
}
|