package com.doumee.core.wx; 
 | 
  
 | 
import lombok.Data; 
 | 
import org.springframework.boot.context.properties.ConfigurationProperties; 
 | 
import org.springframework.stereotype.Component; 
 | 
  
 | 
/** 
 | 
 * Created by IntelliJ IDEA. 
 | 
 * 
 | 
 * @Author : Rk 
 | 
 * @create 2023/3/22 18:04 
 | 
 */ 
 | 
@Component 
 | 
@ConfigurationProperties(prefix = "wx.pay") 
 | 
@Data 
 | 
public class WxPayProperties { 
 | 
  
 | 
    /** 
 | 
     * AppID 
 | 
     */ 
 | 
    private String appId; 
 | 
  
 | 
    /** 
 | 
     * AppSecret 
 | 
     */ 
 | 
    private String appSecret; 
 | 
  
 | 
    /** 
 | 
     * 微信商户号 
 | 
     */ 
 | 
    private String mchId; 
 | 
  
 | 
    /** 
 | 
     * 支付API密钥 
 | 
     */ 
 | 
    private String mchKey; 
 | 
  
 | 
    /** 
 | 
     * 支付回调地址 
 | 
     */ 
 | 
    private String notifyUrl; 
 | 
  
 | 
    /** 
 | 
     * 支付证书(p12) 
 | 
     */ 
 | 
    private String keyPath; 
 | 
  
 | 
} 
 |