设备录入功能-接口完善-前缀SMSJ

This commit is contained in:
WindowBird 2025-09-23 17:51:14 +08:00
parent 1b2dae6e8c
commit a7be9da972
2 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,7 @@ import request from "../../utils/request";
export function listSnByMac(macList) {
return request({
url: "/bst/device/listSnByMac",
url: "/app/memorial/listSnByMac",
method: "POST",
data: {
macList,
@ -14,6 +14,9 @@ export function bstDevice(data) {
return request({
url: "/app/memorial/enter",
method: "POST",
data,
data: {
...data,
regionId: "1",
},
});
}

View File

@ -1390,7 +1390,7 @@ function init() {
// && devices.devices[0].name != 'SMART_R2XS'
// && devices.devices[0].name != 'SMART_R2XS'
// )
if (devices.devices[0].name.indexOf("SMSG") != -1) {
if (devices.devices[0].name.indexOf("SMSJ") != -1) {
// if ( devices.devices[0].name.indexOf("gjkg") != -1 ){
// console.log("跳过",devices.devices[0].name)
// isnotexist = false;