|
@@ -23,10 +23,11 @@ public class RemoteFireFallbackFactory implements FallbackFactory<RemoteFireServ
|
|
|
public RemoteFireService create(Throwable throwable)
|
|
|
{
|
|
|
log.error("用户服务调用失败:{}", throwable.getMessage());
|
|
|
- return new RemoteFireService() {
|
|
|
+ return new RemoteFireService()
|
|
|
+ {
|
|
|
@Override
|
|
|
- public ApiResult<Void> addPatrolInspectionAbnormalData() {
|
|
|
- throw new BusinessException(throwable.getMessage());
|
|
|
+ public void addPatrolInspectionAbnormalData() {
|
|
|
+
|
|
|
}
|
|
|
};
|
|
|
}
|