hecheng лет назад: 3
Родитель
Сommit
d3c122f3d9

+ 1 - 1
zd-api/zd-api-system/src/main/java/com/zd/system/api/airbottle/factory/RemoteAirBottleFallbackFactory.java

@@ -15,6 +15,6 @@ public class RemoteAirBottleFallbackFactory implements FallbackFactory<RemoteAir
     @Override
     public RemoteAirBottleService create(Throwable throwable) {
         log.error("气瓶服务调用失败:{}", throwable.getMessage());
-        return (tag, hardware) -> R.fail("新增报警记录失败:" + throwable.getMessage());
+        return (tag) -> R.fail("新增报警记录失败:" + throwable.getMessage());
     }
 }