rpa/src/ad/ysarthur.js | ●●●●● patch | view | raw | blame | history |
rpa/src/ad/ysarthur.js
@@ -18,7 +18,7 @@ let taskInfo = request.getTask(); //获取任务信息 if (taskInfo.tenantId) storage.putInt("tenantId", taskInfo.tenantId); //存储租户id let taskId = launch.taskThread(random(30, 40)); //开启任务时间线程 30分钟 let taskId = launch.taskThread(random(60, 70)); //开启任务时间线程 30分钟 launch.launchDevice(taskId); //唤醒设备 @@ -40,7 +40,7 @@ function startArthur() { let startNum = 0; while (!thread.isCancelled(taskId)) { if (startNum < 5) { if (startNum < 1) { try { //是否为商家用户 let btnStart;