package com.ruoyi.errand.utils.wx;
|
|
import lombok.Data;
|
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.stereotype.Component;
|
|
/**
|
* 微信支付配置类
|
*/
|
@Data
|
@Component
|
@ConfigurationProperties(prefix = "wx")
|
public class WechatPayConfig {
|
// 小程序APPID
|
private String appId;
|
// 商户号
|
private String mchId;
|
// 商户API密钥
|
private String key;
|
// 支付结果通知地址
|
private String callbackPath;
|
// 证书路径
|
private String certPath;
|
// 商户RAS加密公钥路径
|
private String RASPath;
|
private String wxAppletsAppSecret;
|
}
|