From 41580c804796adfa1645290aeb845db37403d8ed Mon Sep 17 00:00:00 2001 From: huankong233 Date: Sat, 17 Aug 2024 14:22:38 +0800 Subject: [PATCH] =?UTF-8?q?[*]=20=E4=BF=AE=E5=A4=8D=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 2 +- CHANGELOG.md | 4 ++++ app/Http/Controllers/ParseController.php | 2 +- config/94list.php | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 6ac00a2..e483f41 100644 --- a/.env.example +++ b/.env.example @@ -23,7 +23,7 @@ MAIL_FROM_NAME=Example MAIL_TO_ADDRESS=hello@example.com MAIL_TO_NAME=Example -_94LIST_VERSION=1.3.32 +_94LIST_VERSION=1.3.33 _94LIST_SLEEP=3 _94LIST_MAX_ONCE=20 _94LIST_PASSWORD="" diff --git a/CHANGELOG.md b/CHANGELOG.md index b7b4651..a457be7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## 2024 +### 08-17 v1.3.33 + +- [*] 修复代码异常报错 + ### 08-16 v1.3.32 - [*] 更新前端 diff --git a/app/Http/Controllers/ParseController.php b/app/Http/Controllers/ParseController.php index b628ac1..21daaa8 100644 --- a/app/Http/Controllers/ParseController.php +++ b/app/Http/Controllers/ParseController.php @@ -647,7 +647,7 @@ public function getDownloadLinks(Request $request) } catch (RequestException $e) { $response = JSON::decode($e->getResponse()->getBody()->getContents()); $reason = $response["message"] ?? "未知原因,请重试"; - if (str_contains($reason, "风控")) { + if (str_contains($reason, "风控") && $parse_mode !== 11) { $account = Account::query()->find($json["cookie"][0]["id"]); if ($account) { $account->update([ diff --git a/config/94list.php b/config/94list.php index 1c27ccf..f089225 100644 --- a/config/94list.php +++ b/config/94list.php @@ -5,7 +5,7 @@ "fake_wx_user_agent" => "Mozilla/5.0 (Linux; Android 7.1.1; MI 6 Build/NMF26X; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.132 MQQBrowser/6.2 TBS/043807 Mobile Safari/537.36 MicroMessenger/6.6.1.1220(0x26060135) NetType/4G Language/zh_CN MicroMessenger/6.6.1.1220(0x26060135) NetType/4G Language/zh_CN miniProgram", "fake_cookie" => "BAIDUID=A4FDFAE43DDBF7E6956B02F6EF715373:FG=1; BAIDUID_BFESS=A4FDFAE43DDBF7E6956B02F6EF715373:FG=1; newlogin=1", - "version" => "1.3.32", + "version" => "1.3.33", "sleep" => (int)env("_94LIST_SLEEP", 3), "max_once" => (int)env("_94LIST_MAX_ONCE", 20), "password" => env("_94LIST_PASSWORD", ""),