20250916-正式上线测试
This commit is contained in:
@@ -406,6 +406,7 @@ class AiUtils(object):
|
||||
'分享发布内容', '视频贴纸标签页', '双击发送表情', '贴纸',
|
||||
}
|
||||
SYSTEM_PATTERNS = [
|
||||
r"(消息请求已被接受|你开始了和.*的聊天|你打开了这个与.*的聊天).*"
|
||||
r"回复时接收通知", r"开启(私信)?通知", r"开启通知",
|
||||
r"你打开了这个与 .* 的聊天。.*隐私",
|
||||
r"在此用户接受你的消息请求之前,你最多只能发送 ?\d+ 条消息。?",
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
import math
|
||||
import random
|
||||
import re
|
||||
import time
|
||||
|
||||
import tidevice
|
||||
import wda
|
||||
@@ -175,14 +178,3 @@ class ControlUtils(object):
|
||||
left_x = max(1, rect.x - 20)
|
||||
center_y = rect.y + rect.height // 2
|
||||
session.tap(left_x, center_y)
|
||||
|
||||
|
||||
|
||||
|
||||
# 检测五分钟前和当前的状态是否相同
|
||||
# @classmethod
|
||||
# def compareCurrentWithPreviousState(cls,xml):
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -36,6 +36,7 @@ class Requester():
|
||||
url = "https://ai.yolozs.com/translation"
|
||||
result = requests.post(url=url, json=param)
|
||||
|
||||
LogManager.info(f"翻译 请求的参数:{param}")
|
||||
LogManager.info(f"翻译,状态码:{result.status_code},服务器返回的内容:{result.text}")
|
||||
|
||||
if result.status_code != 200:
|
||||
@@ -66,8 +67,6 @@ class Requester():
|
||||
|
||||
param["inputs"] = inputs
|
||||
|
||||
print(param)
|
||||
|
||||
try:
|
||||
url = "https://ai.yolozs.com/chat"
|
||||
result = requests.post(url=url, json=param)
|
||||
|
||||
Reference in New Issue
Block a user