diff --git a/.env.example b/.env.example index 1bc5f736..278d3e56 100644 --- a/.env.example +++ b/.env.example @@ -15,7 +15,7 @@ MAIL_FROM_NAME=Example MAIL_TO_ADDRESS=hello@example.com MAIL_TO_NAME=Example -_94LIST_VERSION=1.1.25 +_94LIST_VERSION=1.1.26 _94LIST_SLEEP=3 _94LIST_MAX_ONCE=20 _94LIST_PASSWORD="" diff --git a/CHANGELOG.md b/CHANGELOG.md index 880fa6d9..d73d68ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## 2024 +### 06-29 v1.1.26 + +- [*] 修复卡密错误的使用字段名 + ### 06-29 v1.1.25 - [*] 修复错误的是否使用卡密功能 diff --git a/app/Http/Controllers/v1/ParseController.php b/app/Http/Controllers/v1/ParseController.php index 04d20c56..04581eb9 100644 --- a/app/Http/Controllers/v1/ParseController.php +++ b/app/Http/Controllers/v1/ParseController.php @@ -410,7 +410,7 @@ public function getDownloadLinksByDisk(Request $request) if (str_contains($responseDatum["url"], "dlna")) { if (isset($token) && $token["expired_at"] === null) { $token->update([ - "expired_at" => now()->addDays($token["days"]) + "expired_at" => now()->addDays($token["day"]) ]); } @@ -522,7 +522,7 @@ public function getDownloadLinksByShare(Request $request) if (isset($token) && $token["expired_at"] === null) { $token->update([ - "expired_at" => now()->addDays($token["days"]) + "expired_at" => now()->addDays($token["day"]) ]); } @@ -636,7 +636,7 @@ public function getDownloadLinksByShareV2(Request $request) if (isset($token) && $token["expired_at"] === null) { $token->update([ - "expired_at" => now()->addDays($token["days"]) + "expired_at" => now()->addDays($token["day"]) ]); } diff --git a/config/94list.php b/config/94list.php index 926d582e..31fd67ae 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.1.25", + "version" => "1.1.26", "sleep" => (int)env("_94LIST_SLEEP", 3), "max_once" => (int)env("_94LIST_MAX_ONCE", 20), "password" => env("_94LIST_PASSWORD", ""),