Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #139 from huankong233/dev
Browse files Browse the repository at this point in the history
[*] 修复卡密错误的使用字段名
  • Loading branch information
huankong233 authored Jun 29, 2024
2 parents a4794ef + 50313a3 commit e0d66d5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
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

### 06-29 v1.1.26

- [*] 修复卡密错误的使用字段名

### 06-29 v1.1.25

- [*] 修复错误的是否使用卡密功能
Expand Down
6 changes: 3 additions & 3 deletions app/Http/Controllers/v1/ParseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
]);
}

Expand Down Expand Up @@ -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"])
]);
}

Expand Down Expand Up @@ -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"])
]);
}

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.1.25",
"version" => "1.1.26",
"sleep" => (int)env("_94LIST_SLEEP", 3),
"max_once" => (int)env("_94LIST_MAX_ONCE", 20),
"password" => env("_94LIST_PASSWORD", ""),
Expand Down

0 comments on commit e0d66d5

Please sign in to comment.