batch mac 返回值错误

This commit is contained in:
cheney 2025-07-07 16:51:26 +08:00
parent b1759df717
commit faef49d504

View File

@ -495,7 +495,7 @@ public class SydApiBaseFunction implements SydApi {
byte[] mac = new byte[16];
byte[] buff = list.get(i);
System.arraycopy(buff, buff.length - 16, mac, 0, 16);
ret[i] = Util.bytes2HexString(buff);
ret[i] = Util.bytes2HexString(mac);
}
return ret;
@ -516,7 +516,7 @@ public class SydApiBaseFunction implements SydApi {
byte[] mac = new byte[16];
byte[] buff = list.get(i);
System.arraycopy(buff, buff.length - 16, mac, 0, 16);
ret[i] = Util.bytes2HexString(buff);
ret[i] = Util.bytes2HexString(mac);
}
return ret;
@ -566,7 +566,7 @@ public class SydApiBaseFunction implements SydApi {
byte[] mac = new byte[16];
byte[] buff = list.get(i);
System.arraycopy(buff, buff.length - 16, mac, 0, 16);
ret[i] = pcMac[i].equals(Util.bytes2HexString(buff));
ret[i] = pcMac[i].equals(Util.bytes2HexString(mac));
}
return ret;
@ -587,7 +587,7 @@ public class SydApiBaseFunction implements SydApi {
byte[] mac = new byte[16];
byte[] buff = list.get(i);
System.arraycopy(buff, buff.length - 16, mac, 0, 16);
ret[i] = pcMac[i].equals(Util.bytes2HexString(buff));
ret[i] = pcMac[i].equals(Util.bytes2HexString(mac));
}
return ret;