feat: 添加算术验证码与字符验证码处理能力

新增算术验证码解析、字符清洗能力及测试文件,注册OCR_CalculationCode和OCR_CommonEnglishNumbersCode两个新能力,补充验证码处理逻辑
This commit is contained in:
yu committed 2026-11-05 16:48:20 +08:00
1 parent 902ee0cec4
commit 5ef797dcc0
6 files changed
+344 -96

No files matched your search

+6 -96
View File
@@ -101511,99 +101511,7 @@
"platformTag": null,
"icon": "app",
"risk": "high",
"fields": [
{
"key": "username",
"label": "用户名",
"widget": "text",
"type": "string",
"displayType": "text-expression",
"required": true,
"defaultValue": "",
"placeholder": "请设置锁屏后再次开启时显示的用户名",
"description": "",
"advanced": false,
"valueTypes": [
"rpa_str"
]
},
{
"key": "pwd",
"label": "密码",
"widget": "secret",
"type": "string",
"displayType": "encryption",
"required": true,
"defaultValue": "",
"placeholder": "请输入锁屏后再次开启需要输入的密码",
"description": "",
"advanced": false,
"valueTypes": [
"rpa_password",
"rpa_str"
]
},
{
"key": "width",
"label": "分辨率(宽)",
"widget": "text",
"type": "string",
"displayType": "text-expression",
"required": true,
"defaultValue": "",
"placeholder": "",
"description": "",
"advanced": false,
"valueTypes": [
"rpa_int"
]
},
{
"key": "height",
"label": "分辨率(高)",
"widget": "text",
"type": "string",
"displayType": "text-expression",
"required": true,
"defaultValue": "",
"placeholder": "",
"description": "",
"advanced": false,
"valueTypes": [
"rpa_int"
]
},
{
"key": "scale_factor",
"label": "缩放比",
"widget": "text",
"type": "string",
"displayType": "text-expression",
"required": true,
"defaultValue": "",
"placeholder": "",
"description": "缩放比范围100-500,默认值为100",
"advanced": false,
"valueTypes": [
"rpa_int"
]
},
{
"key": "port",
"label": "端口号",
"widget": "text",
"type": "string",
"displayType": "text-expression",
"required": false,
"defaultValue": "",
"placeholder": "请输入端口号,示例: 8008",
"description": "指定端口号,如果为空,将自动读取系统当前设置。",
"advanced": true,
"valueTypes": [
"rpa_str"
]
}
],
"fields": [],
"output": {
"label": "输出到变量",
"key": "var_name",
@@ -101622,7 +101530,8 @@
}
]
},
"slots": []
"slots": [],
"label": "锁屏"
},
{
"id": "ScreenControl_ScreenUnlock",
@@ -101675,7 +101584,8 @@
}
]
},
"slots": []
"slots": [],
"label": "解锁屏幕(仅唤醒,登录锁屏需手动输入密码)"
},
{
"id": "StrUtil_InStr",
@@ -125574,4 +125484,4 @@
"slots": []
}
]
}
}