From 157b591c3afd71cc39a2c17f17b9c4b73a24d0f1 Mon Sep 17 00:00:00 2001 From: shikong <919411476@qq.com> Date: Thu, 21 Sep 2023 09:19:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20/register=20=E5=8F=AA?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E5=B7=B2=E5=90=AF=E7=94=A8=E7=9A=84=E8=AE=BE?= =?UTF-8?q?=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mocking/service/gb28181/register/RegisterService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/gb28181/register/RegisterService.java b/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/gb28181/register/RegisterService.java index d1791bc..37699d2 100644 --- a/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/gb28181/register/RegisterService.java +++ b/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/gb28181/register/RegisterService.java @@ -84,6 +84,7 @@ public class RegisterService { CompletableFuture> result = new CompletableFuture<>(); if(!device.getEnable()){ result.complete(JsonResponse.success(null)); + return result; } sender.sendRequest((provider, ip, port) -> { CallIdHeader callIdHeader = provider.getNewCallId();