From e0fa2381216413d536c505b111fdfa6b6ecf93ad Mon Sep 17 00:00:00 2001 From: qiuyc <1026314800@qq.com> Date: Sat, 10 Oct 2020 13:55:00 +0800 Subject: [PATCH] 20201010 --- cloud/dahua/src/main/java/com/example/dahua/MyTask.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cloud/dahua/src/main/java/com/example/dahua/MyTask.java b/cloud/dahua/src/main/java/com/example/dahua/MyTask.java index 2261be1..82e91f0 100644 --- a/cloud/dahua/src/main/java/com/example/dahua/MyTask.java +++ b/cloud/dahua/src/main/java/com/example/dahua/MyTask.java @@ -66,9 +66,9 @@ public class MyTask implements ApplicationRunner { public void run(ApplicationArguments args) throws Exception { // 121.40.109.21 -// LoginModule.init(disConnect, haveReConnect); // 打开工程,初始化 + LoginModule.init(disConnect, haveReConnect); // 打开工程,初始化 -// autoRegister();//自注册 + autoRegister();//自注册 // System.out.println(" sendRecordDao:"+sendRecordDao.getSenSuccess()); } @@ -83,6 +83,7 @@ public class MyTask implements ApplicationRunner { * 开启监听服务 */ + System.out.println("new Utils().getHostAddress():"+new Utils().getHostAddress()); AutoRegisterModule.startServer(new Utils().getHostAddress(), 9500, servicCallback); } -- libgit2 0.21.0