package com.gxwebsoft.shop.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource("classpath:wxpay.properties")
@ConfigurationProperties(prefix = "wxpay")
@Data
public class WxPayConfig {

  // 商户号
  private String mchId;

  // 证书序列号
  private String mchSerialNo;

  // 商户私钥文件
  private String privateKeyPath;

  // APIv3秘钥
  private String apiV3Key;

  // APPID
  private String appId;

  // 微信服务器地址
  private String domain;

  // 接受结果通知地址
  private String notifyDomain;

}
