diff --git a/src/api/RFID/RFID.js b/src/api/RFID/RFID.js index f7b74a8..cdaea12 100644 --- a/src/api/RFID/RFID.js +++ b/src/api/RFID/RFID.js @@ -26,7 +26,8 @@ export function writeEPC(params) { export function getDeviceMac() { return request({ - url: 'api/RFID/getDeviceMac', + // url: 'api/RFID/getDeviceMac', + url: 'api/RFID/getDeviceMacLinux', method: 'get' }) } diff --git a/src/api/storeManage/deviceManage/mac.js b/src/api/storeManage/deviceManage/mac.js index 4649b05..ced9eed 100644 --- a/src/api/storeManage/deviceManage/mac.js +++ b/src/api/storeManage/deviceManage/mac.js @@ -2,7 +2,8 @@ import request from '@/utils/request' export function getMac() { return request({ - url: 'api/RFID/getDeviceMac', + // url: 'api/RFID/getDeviceMac', + url: 'api/RFID/getDeviceMacLinux', method: 'get' }) }