package com.cool.store.config.weixin;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author suzhuhong
 * @Date 2025/10/10 14:41
 * @Version 1.0
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "wechat.miniapp")
public class WechatMiniappProperties {

    /**
     * 小程序appId
     */
    private String appId;

    /**
     * 小程序页面路径
     */
    private String defaultPagePath ;

    /**
     * 是否使用小程序跳转
     */
    private boolean enabled = false;

}
