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

fix: 修复本地svip配置未正确生效问题 #367

Merged
merged 1 commit into from
Apr 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/Parse.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public static function download($fs_id, $timestamp, $sign, $randsk, $share_id, $
return array("error" => 0, "filedata" => $FileData, "directlink" => $dlink, "user_agent" => "LogStatistic", "message" => $message);
}

list($ID, $cookie) = ["-1", config('baiduwp.cookie')];
list($ID, $cookie) = ["-1", config('baiduwp.svip_cookie') ? config('baiduwp.svip_cookie') : config('baiduwp.cookie')];

if (config('baiduwp.db')) {
$link_expired_time = config('baiduwp.link_expired_time') ?? 8;
Expand Down