From 20eaac8e12870e94b4a73725cf855bc1d20f8bcf Mon Sep 17 00:00:00 2001 From: yjj38 Date: Wed, 9 Jul 2025 20:50:32 +0800 Subject: [PATCH] =?UTF-8?q?Refactor:=20=E6=9B=B4=E6=96=B0=E5=AE=9E?= =?UTF-8?q?=E4=BE=8B=E5=B1=9E=E6=80=A7=E6=97=B6=E8=8E=B7=E5=8F=96=E6=9B=B4?= =?UTF-8?q?=E5=A4=9A=E8=AE=BE=E5=A4=87=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 `client.getDeviceCodes` 方法中获取设备码的数量从 1 调整为 100,以便在更新实例属性时有更多可用的设备码。 --- .../java/com/example/retention/device/ChangeDeviceInfoUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/example/retention/device/ChangeDeviceInfoUtil.java b/app/src/main/java/com/example/retention/device/ChangeDeviceInfoUtil.java index 587dbbf..a39b10a 100644 --- a/app/src/main/java/com/example/retention/device/ChangeDeviceInfoUtil.java +++ b/app/src/main/java/com/example/retention/device/ChangeDeviceInfoUtil.java @@ -438,7 +438,7 @@ public class ChangeDeviceInfoUtil { // 调用接口更新实例属性 try { - String[] padCodes = client.getDeviceCodes(1, 1, null, null, null, null, null, null, null, null); + String[] padCodes = client.getDeviceCodes(1, 100, null, null, null, null, null, null, null, null); String response = client.updateInstanceProperties( padCodes, null, // modemPersistProps