Skip to content

Commit

Permalink
[*] 修复代码异常报错
Browse files Browse the repository at this point in the history
  • Loading branch information
huankong233 committed Aug 17, 2024
1 parent 5efb57e commit 41580c8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## 2024

### 08-17 v1.3.33

- [*] 修复代码异常报错

### 08-16 v1.3.32

- [*] 更新前端
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/ParseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down
2 changes: 1 addition & 1 deletion config/94list.php
Original file line number Diff line number Diff line change
Expand Up @@ -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", ""),
Expand Down

0 comments on commit 41580c8

Please sign in to comment.