package com.chinaztt.mes.warehouse.entity; import lombok.Data; import org.springframework.beans.factory.annotation.Value; import org.springframework.cloud.context.config.annotation.RefreshScope; import org.springframework.stereotype.Component; /** * @Description : 包装称重接口地址配置类 * @ClassName : PackingBean * @Author : sll * @Date: 2022-05-30 10:55 */ @RefreshScope @Component @Data public class PackingBean{ /** * 包装称重的地址 */ @Value("${packing.host:}") private String host; /** * 光电混合缆-华为合格证积木报表地址 */ @Value("${packing.gdhhl_huawei:}") private String gdhhlHuawei; /** * 称重标签积木表报地址 */ @Value("${packing.weight_lable:}") private String weightLable; /** * 高温合格证积木地址 */ @Value("${packing.gw_huawei_url:}") private String gwHuaweiUrl; /** * 光电合格证积木地址 */ @Value("${packing.gd_huawei_url:}") private String gdHuaweiUrl; }