package com.ruoyi.hezhi.api.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;


@Configuration
@Data
public class AliPayConfig {

    @Value("${alipay.appPay.appId}")
    private String appId;

    @Value("${alipay.appPay.url}")
    private String url;

    @Value("${alipay.appPay.charset}")
    private String charset;

    @Value("${alipay.appPay.format}")
    private String format;

    /** 签名算法 */
    @Value("${alipay.appPay.signType}")
    private String signType;

    @Value("${alipay.appPay.notifyUrl}")
    private String notifyUrl;

    /** 私钥 */
    @Value("${alipay.appPay.privateKey}")
    private String privateKey;

    /** 公钥 */
    @Value("${alipay.appPay.publicKey}")
    private String publicKey;
}
