wlzboy
8 小时以前 5f2ee03958a1a16dc27195c76ea7cffb422c95d1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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;
    }
}