diff --git a/epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/feign/DataStatisticalOpenFeignClient.java b/epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/feign/DataStatisticalOpenFeignClient.java index ee35accdae..49ff5933fc 100644 --- a/epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/feign/DataStatisticalOpenFeignClient.java +++ b/epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/feign/DataStatisticalOpenFeignClient.java @@ -22,7 +22,7 @@ import org.springframework.web.bind.annotation.RequestParam; * @author: jianjun liu */ //url="http://localhost:8108" -@FeignClient(name = ServiceConstant.DATA_STATISTICAL_SERVER, fallback = DataStatisticalOpenFeignClientFallBack.class) +@FeignClient(name = ServiceConstant.DATA_STATISTICAL_SERVER, fallback = DataStatisticalOpenFeignClientFallBack.class, configuration =) public interface DataStatisticalOpenFeignClient { /** @@ -199,16 +199,17 @@ public interface DataStatisticalOpenFeignClient { * @date: 2020/6/22 9:09 * @author: jianjun liu */ - @PostMapping(value = "data/stats/factorigin/extractall") + @PostMapping(value = "/data/stats/factorigin/extractall") Result factOriginExtractAll(@RequestBody(required = false) ExtractFormDTO formDTO); /** + * ˚ * desc: 【月】抽取统计数据到指标库 * * @date: 2020/6/22 9:09 * @author: jianjun liu */ - @PostMapping(value = "data/stats/indexorigin/extractall") + @PostMapping(value = "/data/stats/indexorigin/extractall") Result indexOriginExtractAll(@RequestBody(required = false) ExtractIndexFormDTO formDTO); } diff --git a/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/controller/IndexOriginExtractController.java b/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/controller/IndexOriginExtractController.java index 1f2b86020a..1c0128cddf 100644 --- a/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/controller/IndexOriginExtractController.java +++ b/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/controller/IndexOriginExtractController.java @@ -17,7 +17,7 @@ import org.springframework.web.bind.annotation.RestController; * @date 2020/9/15 11:06 */ @RestController -@RequestMapping("indexorigin") +@RequestMapping("factorigin") public class IndexOriginExtractController { @Autowired private IndexOriginExtractService indexOriginExtractService;