package com.ruoyi.web.modules.pay.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 微信小程序配置（code2session 绑定 openid）
 */
@Component
@ConfigurationProperties(prefix = "wechat.miniapp")
public class WeChatMiniAppProperties
{
    private String appId;

    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;
    }
}
