From 85d6c6994b7e76833656328d9d7c4e7d8c85d662 Mon Sep 17 00:00:00 2001
From: TQS <56479841@qq.com>
Date: 星期二, 27 六月 2023 19:01:33 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/console.html |   21 +--------------------
 1 files changed, 1 insertions(+), 20 deletions(-)

diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index fe997be..e021e97 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -1075,7 +1075,6 @@
         getSystemRunningStatus();
         getBarcodeInfo();
         getScaleInfo();
-        getInStaBarcodeInfo(1);
     }, 1000);
     setInterval(function () {
         getSitesInfo();
@@ -1207,25 +1206,6 @@
             }
         });
     }
-    // 鍏ュ簱绔欐壂鐮佸櫒鏁版嵁瀹炴椂鑾峰彇
-    function getInStaBarcodeInfo(barcodeId) {
-        $.ajax({
-            url: baseUrl + "/latest/inSta/data/barcode",
-            data: {barcodeId:barcodeId},
-            headers: {'token': localStorage.getItem('token')},
-            method: 'POST',
-            success: function (res) {
-                console.log(res)
-                if (res.code === 200){
-
-                } else if (res.code === 403){
-                    parent.location.href = baseUrl+"/login";
-                }  else {
-                    console.log(res.msg);
-                }
-            }
-        })
-    }
 
     // 鎵爜鍣ㄥ疄鏃舵暟鎹幏鍙�
     function getBarcodeInfo(){
@@ -1235,6 +1215,7 @@
             method: 'POST',
             success: function (res) {
                 if (res.code === 200){
+                    console.log(res)
                     var barcodes = res.data;
                     for (var i = 0; i < barcodes.length; i++){
                         $("#code-decoder-data-"+barcodes[i].barcodeId).html(barcodes[i].codeValue);

--
Gitblit v1.9.1