package com.ydtech.config.properties; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; @Component @ConfigurationProperties(prefix = "wechat.open") public class WechatOpenProperties { /** * 设置微信三方平台的appid */ private String componentAppId; /** * 设置微信三方平台的app secret */ private String componentSecret; public String getComponentAppId() { return componentAppId; } public void setComponentAppId(String componentAppId) { this.componentAppId = componentAppId; } public String getComponentSecret() { return componentSecret; } public void setComponentSecret(String componentSecret) { this.componentSecret = componentSecret; } }