package com.ruoyi.payment.ali.config;
|
|
|
import lombok.Data;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.context.annotation.Configuration;
|
import org.springframework.stereotype.Component;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2024/8/23 16:08
|
*/
|
@Data
|
@Component
|
@Configuration
|
@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";
|
|
|
}
|