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