代码修改
This commit is contained in:
@@ -14,7 +14,7 @@ import org.springframework.web.bind.annotation.RequestBody;
|
||||
* @date 2022/10/20
|
||||
*/
|
||||
@FeignClient(
|
||||
value = ServerInfo.HARMONIC_PREPARE,//对应模块名
|
||||
value = ServerInfo.PREPARE_BOOT,//对应模块名
|
||||
path = "/report",//对应controller请求类
|
||||
fallbackFactory = CoustomReportFeignClientFallbackFactory.class//服务降级处理类
|
||||
)
|
||||
|
||||
@@ -16,7 +16,7 @@ import org.springframework.web.bind.annotation.RequestBody;
|
||||
* @createTime 2022/11/4 15:58
|
||||
*/
|
||||
@FeignClient(
|
||||
value = ServerInfo.HARMONIC_PREPARE,
|
||||
value = ServerInfo.PREPARE_BOOT,
|
||||
path = "/distortion",
|
||||
fallbackFactory = DistortionRateFeignClientFallbackFactory.class
|
||||
)
|
||||
|
||||
@@ -15,7 +15,7 @@ import org.springframework.web.bind.annotation.RequestBody;
|
||||
* @date 2022/10/20
|
||||
*/
|
||||
@FeignClient(
|
||||
value = ServerInfo.HARMONIC_PREPARE,//对应模块名
|
||||
value = ServerInfo.PREPARE_BOOT,//对应模块名
|
||||
path = "/normalLimit",//对应controller请求类
|
||||
fallbackFactory = NormalFeignClientFallbackFactory.class//服务降级处理类
|
||||
)
|
||||
|
||||
@@ -10,12 +10,12 @@ import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
/**
|
||||
* 自定义报表
|
||||
* 污区数据(日,月,年)
|
||||
* @author qijian
|
||||
* @date 2022/10/20
|
||||
*/
|
||||
@FeignClient(
|
||||
value = ServerInfo.HARMONIC_PREPARE,//对应模块名
|
||||
value = ServerInfo.PREPARE_BOOT,//对应模块名
|
||||
path = "/pollution",//对应controller请求类
|
||||
fallbackFactory = PollutionFeignClientFallbackFactory.class//服务降级处理类
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user