package com.chinaztt.mes.production.util; import lombok.Data; import org.springframework.beans.factory.annotation.Value; import org.springframework.cloud.context.config.annotation.RefreshScope; import org.springframework.stereotype.Component; /** * @Description: * @Author: shz * @Date: 2022/7/1 21:18 */ @RefreshScope @Data @Component public class PrintUrlUtils { @Value("${jimureport.output_print_url:}") private String printUrl; @Value("${jimureport.sn_print_url:}") private String snPrintUrl; @Value("${jimureport.small_print_url:}") private String smallPrintUrl; }