package com.weaver.seconddev.chapanda.prop.util;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import javax.ws.rs.GET;

/**
 * packageName com.weaver.seconddev.chapanda.prop.util
 *
 * @ClassName SecDevProperty
 * @Author shil
 * @Date 2025/8/13 18:44
 * @Description TODO
 */


@Configuration
// 自动刷新配置，不需要重启服务
@RefreshScope
public class SecDevProperty {

    @Value("${weaver.secondev.chapanda.evntype:prod}")
    private String evntype;

    public String getEvntype() {
        return evntype;
    }

    public void setEvntype(String evntype) {
        this.evntype = evntype;
    }
}
