Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
BobCoderS9 committed Nov 16, 2022
2 parents 9d1ce2b + 53cfdd0 commit 90b75f9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/Command/Job.php
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,14 @@ public function DailyJob()
}
}
echo '重置用户流量成功;' . PHP_EOL;

$qqwry = file_get_contents('http://qqwry.mirror.noc.one/QQWry.Dat?from=sspanel_uim');

$stream_opts = [
"ssl" => [
"verify_peer"=>false,
"verify_peer_name"=>false,
]
];
$qqwry = file_get_contents('http://qqwry.mirror.noc.one/QQWry.Dat?from=sspanel_uim', false, stream_context_create($stream_opts));
if ($qqwry != '') {
rename(BASE_PATH . '/storage/qqwry.dat', BASE_PATH . '/storage/qqwry.dat.bak');
$fp = fopen(BASE_PATH . '/storage/qqwry.dat', 'wb');
Expand Down

0 comments on commit 90b75f9

Please sign in to comment.