diff --git a/.env.example b/.env.example index 979dc18..9b7cd51 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.37 +_94LIST_VERSION=1.3.38 _94LIST_SLEEP=3 _94LIST_MAX_ONCE=20 _94LIST_PASSWORD="" diff --git a/CHANGELOG.md b/CHANGELOG.md index ea5320a..83b49c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## 2024 +### 08-23 v1.3.38 + +- [*] 修复显示账户不足 + ### 08-22 v1.3.37 - [*] 修复不能修改企业账户信息 diff --git a/app/Http/Controllers/ParseController.php b/app/Http/Controllers/ParseController.php index 0dc4051..4462d82 100644 --- a/app/Http/Controllers/ParseController.php +++ b/app/Http/Controllers/ParseController.php @@ -32,7 +32,7 @@ public function getConfig(Request $request) "announce" => $config["announce"], "debug" => config("app.debug"), "max_once" => $config["max_once"], - "have_account" => self::getRandomCookie(["超级会员"], false)->getData(true)["code"] === 200, + "have_account" => self::getRandomCookie($config["parse_mode"] === 11 ? ["超级会员", "普通会员", "普通用户"] : ["超级会员"], false)->getData(true)["code"] === 200, "have_login" => Auth::check(), "need_inv_code" => $config["need_inv_code"], "need_password" => $config["password"] !== "", diff --git a/config/94list.php b/config/94list.php index e14fa03..7d87f0a 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.37", + "version" => "1.3.38", "sleep" => (int)env("_94LIST_SLEEP", 3), "max_once" => (int)env("_94LIST_MAX_ONCE", 20), "password" => env("_94LIST_PASSWORD", ""),