package com.ruoyi.system.config;

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


@Configuration
@Component
//@PropertySource("classpath:wxpay.properties") //读取配置文件
@ConfigurationProperties(prefix="wxapp") //读取wxpay节点
@Data //使用set方法将wxpay节点中的值填充到当前类的属性中
public class WxConfig {

    private String appid;

    private String appSecret;


}
