From 80bfd9ce026e67dd2eb86c519b5b1b70e3cc7d12 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期三, 17 十一月 2021 17:03:48 +0800
Subject: [PATCH] 使用@Async多线程处理sip消息

---
 src/main/java/com/genersoft/iot/vmp/web/ApiDeviceController.java |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/web/ApiDeviceController.java b/src/main/java/com/genersoft/iot/vmp/web/ApiDeviceController.java
index 09c94bd..ef83976 100644
--- a/src/main/java/com/genersoft/iot/vmp/web/ApiDeviceController.java
+++ b/src/main/java/com/genersoft/iot/vmp/web/ApiDeviceController.java
@@ -14,7 +14,7 @@
 import java.util.List;
 
 /**
- * 鍏煎LiveGBS鐨凙PI锛氳澶囦俊鎭�
+ * API鍏煎锛氳澶囦俊鎭�
  */
 @SuppressWarnings("unchecked")
 @CrossOrigin
@@ -50,11 +50,9 @@
                             @RequestParam(required = false)String q,
                             @RequestParam(required = false)Boolean online ){
 
-        if (logger.isDebugEnabled()) {
-            logger.debug("鏌ヨ鎵�鏈夎棰戣澶嘇PI璋冪敤");
-        }
-
-        logger.debug("鏌ヨ鎵�鏈夎棰戣澶嘇PI璋冪敤");
+//        if (logger.isDebugEnabled()) {
+//            logger.debug("鏌ヨ鎵�鏈夎棰戣澶嘇PI璋冪敤");
+//        }
         JSONObject result = new JSONObject();
         List<Device> devices;
         if (start == null || limit ==null) {
@@ -100,9 +98,9 @@
                                    @RequestParam(required = false)String q,
                                    @RequestParam(required = false)Boolean online ){
 
-        if (logger.isDebugEnabled()) {
-            logger.debug("鏌ヨ鎵�鏈夎棰戣澶嘇PI璋冪敤");
-        }
+//        if (logger.isDebugEnabled()) {
+//            logger.debug("鏌ヨ鎵�鏈夎棰戣澶嘇PI璋冪敤");
+//        }
         JSONObject result = new JSONObject();
         // 鏌ヨ璁惧鏄惁瀛樺湪
         Device device = storager.queryVideoDevice(serial);

--
Gitblit v1.8.0