From 10f0f31e6160518e83ac6a7a644a25f05ec64430 Mon Sep 17 00:00:00 2001 From: 4670101279 Date: Tue, 28 Jun 2022 13:30:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=91=84=E5=83=8F=E6=9C=BA=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/code/camera/scheduled/RegisterServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-code/src/main/java/com/ruoyi/code/camera/scheduled/RegisterServer.java b/ruoyi-code/src/main/java/com/ruoyi/code/camera/scheduled/RegisterServer.java index 1d981aa..013b006 100644 --- a/ruoyi-code/src/main/java/com/ruoyi/code/camera/scheduled/RegisterServer.java +++ b/ruoyi-code/src/main/java/com/ruoyi/code/camera/scheduled/RegisterServer.java @@ -36,14 +36,14 @@ public class RegisterServer { private void start(){ String ip = IPUtils.getLocalIpAddress(); -// if("172.16.46.58".equals(ip)){ + if("172.16.46.58".equals(ip)){ R result = cameraService.register(); if("0".equals(result.get("code").toString())){ System.out.println("主动注册服务已启动"); }else{ System.out.println("主动注册服务启动失败"); } -// } + } } }