From 4132a0fcf710397b34a50071fccb96a3de005beb Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 9 Sep 2022 16:00:21 +0800 Subject: [PATCH] f --- app/controller/Check.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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