u
This commit is contained in:
@@ -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());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user