xiongzhu 10 月之前
父节点
当前提交
b496a7f002
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      name.js

+ 2 - 2
name.js

@@ -34,7 +34,7 @@ const {
     search: { where: { online: true }, order: { name: "ASC" } }
 })
 
-const ws = new WebSocket("ws://121.40.132.44:6001")
+const ws = new WebSocket("ws://121.40.132.44:6002")
 let xwDevices = []
 ws.onopen = () => {
     console.log("Connected to WebSocket")
@@ -66,7 +66,7 @@ ws.onopen = () => {
                             action: "updateDevices",
                             devices: xwDevice.serial,
                             data: {
-                                // sort: i++,
+                                sort: i++,
                                 name: device.name
                             }
                         })