package cc.mrbird.febs.pay.properties;
|
|
import lombok.Data;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Primary;
|
|
/**
|
* @author wzy
|
* @date 2023-04-07
|
**/
|
@Data
|
@Configuration
|
@ConfigurationProperties(prefix = "pay.wx")
|
@Primary
|
public class WxPayProperties {
|
|
/**
|
* 设置微信公众号或者小程序等的appid
|
*/
|
private String appId;
|
|
/**
|
* 微信支付商户号
|
*/
|
private String mchId;
|
|
/**
|
* 微信支付商户密钥
|
*/
|
private String mchKey;
|
|
private String keyPath;
|
|
private String noticeUrl;
|
}
|