package com.tzy.framework.pay.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "pay.bofoo.app")
@NoArgsConstructor
@AllArgsConstructor
public class BaoFooPayConfig {
    private String merchantName;
    //商户号
    private String mid = "1272618";
    //终端号
    private String tid = "80729";
    //私钥
//    private String privateKey = "C:\\poyi\\project\\poyee\\poyee-pay\\src\\main\\resources\\config\\prod\\bofooPrivate.pfx";
//    //私钥密码
//    private String privateKeyPwd = "880615sandy";
////    private String privateKeyPwd = "123456";
//    //公钥
//    private String publicKey = "C:\\poyi\\project\\poyee\\poyee-pay\\src\\main\\resources\\config\\prod\\bfkey_1272618@@80729.cer";

    private String privateKey = "/app/configs/bofooPrivate.pfx";
    //私钥密码
    private String privateKeyPwd = "880615sandy";
    //    private String privateKeyPwd = "123456";
    //公钥
    private String publicKey = "/app/configs/bfkey_1272618_80729.cer";
    //支付回调地址
    private String payNotifyUrl = "https://m2-dev.hobbystocks.cn/py-app/api/bfoo/paymentBack";

    private String agreementpayNotifyUrl = "https://m2-dev.hobbystocks.cn/py-app/api/agreement/paymentBack";
    //退款回调地址
    private String refundNotifyUrl;
    //支付宝二级商户号
    private String alipaySimid = "2088620820601391";
    //微信商户号
    private String wxSimid = "569520824";
    //云闪付
    private String uacSimid = "844290053110005";
    //支付标记
    private String payFlag;
    //退款标记
    private String refundFlag;

}
