|
@@ -1,7 +1,7 @@
|
|
|
package com.usky.agbox.factory;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
-import com.usky.agbox.RemotePatrolAgboxService;
|
|
|
+import com.usky.agbox.RemotePatrolAgBoxService;
|
|
|
import com.usky.common.core.exception.FeignBadRequestException;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
@@ -13,14 +13,14 @@ import org.springframework.stereotype.Component;
|
|
|
* @date 2024/04/02 15:07
|
|
|
*/
|
|
|
@Component
|
|
|
-public class RemotePatrolAgboxFallbackFactory implements FallbackFactory<RemotePatrolAgboxService> {
|
|
|
- private static final Logger log = LoggerFactory.getLogger(RemotePatrolAgboxFallbackFactory.class);
|
|
|
+public class RemotePatrolAgBoxFallbackFactory implements FallbackFactory<RemotePatrolAgBoxService> {
|
|
|
+ private static final Logger log = LoggerFactory.getLogger(RemotePatrolAgBoxFallbackFactory.class);
|
|
|
|
|
|
@Override
|
|
|
- public RemotePatrolAgboxService create(Throwable throwable)
|
|
|
+ public RemotePatrolAgBoxService create(Throwable throwable)
|
|
|
{
|
|
|
log.error("agbox服务调用失败:{}", throwable.getMessage());
|
|
|
- return new RemotePatrolAgboxService()
|
|
|
+ return new RemotePatrolAgBoxService()
|
|
|
{
|
|
|
@Override
|
|
|
public JSONObject getEventCode() {
|