package com.hdkj.lt.feign; import com.hdkj.lt.base.constants.SystemGlobalConstant; import com.hdkj.lt.feign.fallback.SvgGenerationApiClientFallBack; import com.hdkj.lt.modle.dto.svg.DynamicSvgDTO; import com.hdkj.lt.modle.dto.svg.DynamicSvgDetailDTO; import com.hdkj.lt.modle.vo.svg.DynamicSvgVO; import com.hdkj.hussar.ApiResponse; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; /** * @Description * @Author wcx * @Date 2025/6/30 11:09 * @Version 1.0 */ @FeignClient(value = SystemGlobalConstant.SERVICE_NAME_SVG_GENERATION,contextId = "ISvgGenerationApiClient", fallbackFactory = SvgGenerationApiClientFallBack.class) public interface ISvgGenerationApiClient { // 根据线路保存文件信息 String API_MAPPING_SERVICE_DYNAMIC_SVG = "free/ct/getXlYjll"; // 根据线路保存文件详图 String API_MAPPING_SERVICE_DYNAMIC_SVG_DETAIL = "free/ct/getXlYjllXt"; @PostMapping(API_MAPPING_SERVICE_DYNAMIC_SVG) ApiResponse queryDynamicSvg(DynamicSvgDTO dynamicSvgDTO); @PostMapping(API_MAPPING_SERVICE_DYNAMIC_SVG_DETAIL) ApiResponse queryDynamicSvgDetail(DynamicSvgDetailDTO dynamicSvgDetailDTO); }