From 7b91e601b909570a5f1e474b77c4d23aa507acf1 Mon Sep 17 00:00:00 2001
From: hk <hk123456.com>
Date: Thu, 09 Jan 2025 17:58:37 +0800
Subject: [PATCH] 雅诗Rpa 启动

---
 rpa/src/ad/ysarthur.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rpa/src/ad/ysarthur.js b/rpa/src/ad/ysarthur.js
index 7dde6c5..64839c8 100644
--- a/rpa/src/ad/ysarthur.js
+++ b/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;

--
Gitblit v1.9.3