diff --git a/app/controller/Check.php b/app/controller/Check.php index 002fc46..353543e 100644 --- a/app/controller/Check.php +++ b/app/controller/Check.php @@ -12,10 +12,10 @@ class Check public function index() { $url = $GLOBALS['data']['data']['url']; - $call = 'https://mp.weixinbridge.com/mp/wapredirect?url='.$url; + $call = 'https://mp.weixinbridge.com/mp/wapredirect?url='.urlencode($url); $client = new Client(); - $response = $client->request('GET', urlencode($call)); + $response = $client->request('GET', $call); dump($response); //weixin110.qq.com