package com.ruoyi.common.config; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; /** * 微信小程序配置类(用于附件上传等小程序功能) * 配置来源:transferConfig.weixin * * @author ruoyi */ @Component @ConfigurationProperties(prefix = "transfer-config-weixin") public class WechatConfig { /** 微信小程序AppID */ private String appId; /** 微信小程序AppSecret */ private String appSecret; public String getAppId() { return appId; } public void setAppId(String appId) { this.appId = appId; } public String getAppSecret() { return appSecret; } public void setAppSecret(String appSecret) { this.appSecret = appSecret; } }