数据同步,新增电站
This commit is contained in:
@@ -19,7 +19,5 @@ public interface UserReportFeignClient {
|
||||
@GetMapping("/updateUserReportStatus")
|
||||
HttpResult<Object> updateUserReportStatus(@RequestParam("businessKey") String businessKey, @RequestParam("status")Integer status);
|
||||
|
||||
@GetMapping("/updateUserStatus")
|
||||
HttpResult<Object> updateUserStatus(String businessKey,Integer userStatus) ;
|
||||
|
||||
}
|
||||
|
||||
@@ -33,11 +33,6 @@ public class UserReportFeignClientFallbackFactory implements FallbackFactory<Use
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpResult<Object> updateUserStatus(String businessKey, Integer userStatus) {
|
||||
log.error("{}异常,降级处理,异常为:{}", "更新干扰源用户状态", throwable.toString());
|
||||
throw new BusinessException(finalExceptionEnum);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user