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; /** 任务通知模板ID */ private String taskNotifyTemplateId; /** 任务详情页面路径 */ private String taskDetailPage; 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; } public String getTaskNotifyTemplateId() { return taskNotifyTemplateId; } public void setTaskNotifyTemplateId(String taskNotifyTemplateId) { this.taskNotifyTemplateId = taskNotifyTemplateId; } public String getTaskDetailPage() { return taskDetailPage; } public void setTaskDetailPage(String taskDetailPage) { this.taskDetailPage = taskDetailPage; } }