package com.web.config;

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

@Component("sysConfig")
@ConfigurationProperties
@PropertySource("classpath:/config.properties")
@Data
public class SysConfig {

	private String fileUrl;

    private String wxPayMchAppId;
    private String wxPayMchId;

    // 微信支付API秘钥
    private String wxPayApiKey;

    // 微信支付统一请求地址
    private String wxPayUnifiedOrderUrl;

    // 微信支付回调地址
    private String wxPayNotifyUrl;

}
