Refactor: 更新实例属性时获取更多设备码
将 `client.getDeviceCodes` 方法中获取设备码的数量从 1 调整为 100,以便在更新实例属性时有更多可用的设备码。
This commit is contained in:
parent
c1cdbfeffc
commit
20eaac8e12
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue