Browse Source

修改path

dev_shibei_match
jianjun 5 years ago
parent
commit
1d0bb827f5
  1. 7
      epmet-module/data-statistical/data-statistical-client/src/main/java/com/epmet/feign/DataStatisticalOpenFeignClient.java
  2. 2
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/controller/IndexOriginExtractController.java

7
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);
}

2
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;

Loading…
Cancel
Save