1.pms公共连接点功能
This commit is contained in:
@@ -27,4 +27,7 @@ public interface UploadGwDataFeignClient {
|
||||
@PostMapping("/uploadEvaluationData")
|
||||
HttpResult<String> uploadEvaluationData(@RequestBody UploadParam param);
|
||||
|
||||
@PostMapping("/upGwCommPoint")
|
||||
HttpResult<String> upGwCommPoint(@RequestBody UploadParam param);
|
||||
|
||||
}
|
||||
|
||||
@@ -45,6 +45,12 @@ public class UploadGwDataFallbackFactory implements FallbackFactory<UploadGwData
|
||||
log.error("{}异常,降级处理,异常为:{}", "国网上送-母线基准水平评估数据", throwable.toString());
|
||||
return new HttpResult<>(CommonResponseEnum.FAIL.getCode(),CommonResponseEnum.FAIL.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<String> upGwCommPoint(UploadParam param) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "国网上送-公共连接点数据", throwable.toString());
|
||||
return new HttpResult<>(CommonResponseEnum.FAIL.getCode(),CommonResponseEnum.FAIL.getMessage());
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user