wlzboy
2025-11-07 2aebbc9601ab439707f69b08e467808df9f7549c
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
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;
    }
}