package com.chinaztt.mes.production.config; import lombok.Data; import org.springframework.beans.factory.annotation.Value; import org.springframework.cloud.context.config.annotation.RefreshScope; import org.springframework.stereotype.Component; /** * @Author: Zero * @Date: 2022/9/22 14:17 * @Description: */ @RefreshScope @Component @Data public class ProductOutputSubmitConfig { @Value("${submit.password:}") private String submitPassword; }