package org.sxkj.odm.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.cloud.context.config.annotation.RefreshScope; import org.springframework.stereotype.Component; /** * python pic 服务 配置类型信息读取 * * @author zhongrj */ @Data @RefreshScope @Component @ConfigurationProperties(prefix = "python.service.urls") public class PyToolsServiceProperties { /** * python tools 工具服务地址 http://127.0.0.1:5001 */ private String pyToolsService = "http://127.0.0.1:5001"; }