This commit is contained in:
2022-09-09 16:10:17 +08:00
parent 7c64a5287f
commit 756b760849

View File

@@ -15,11 +15,9 @@ class Check
$call = 'https://mp.weixinbridge.com/mp/wapredirect?url='.urlencode($url); $call = 'https://mp.weixinbridge.com/mp/wapredirect?url='.urlencode($url);
$client = new Client(); $client = new Client();
$response = $client->request('GET', $call); $response = $client->request('GET', $call, ['allow_redirects' => false]);
//weixin110.qq.com dump(str_contains($response->getHeader('Location')[0], 'weixin110.qq.com'));
dump($response->getBody()->getContents());
dump($response->getHeaders());
} }
} }