package com.ruoyi.common.config;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.stereotype.Component;
|
|
/**
|
* 微信公众号配置类(用于网页授权、评价等公众号功能)
|
*
|
* @author ruoyi
|
*/
|
@Component
|
@ConfigurationProperties(prefix = "evaluation-wechat")
|
public class WechatMpConfig {
|
|
/** 微信公众号AppID */
|
private String appId;
|
|
/** 微信公众号AppSecret */
|
private String appSecret;
|
|
/** 微信授权回调地址 */
|
private String redirectUri;
|
|
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 getRedirectUri() {
|
return redirectUri;
|
}
|
|
public void setRedirectUri(String redirectUri) {
|
this.redirectUri = redirectUri;
|
}
|
}
|