代码修改

This commit is contained in:
2023-03-28 10:32:48 +08:00
parent 2bdd236f53
commit d84337a03a
12 changed files with 185 additions and 164 deletions

View File

@@ -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//服务降级处理类
)

View File

@@ -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
)

View File

@@ -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//服务降级处理类
)

View File

@@ -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//服务降级处理类
)