From 4d387d1c3737107dae4ed7f46df154f9022486fa Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 9 Sep 2022 13:26:33 +0800 Subject: [PATCH] update --- app/controller/Wechat.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controller/Wechat.php b/app/controller/Wechat.php index 9e5d6fb..ded2a20 100644 --- a/app/controller/Wechat.php +++ b/app/controller/Wechat.php @@ -32,6 +32,7 @@ class Wechat { $url = $GLOBALS['data']['data']['url']; $redirect = Route::buildUrl('wechat/code', ['callback' => $url]) + ->suffix(false) ->domain(true); $this->initWechat(); return $this->app->oauth->scopes(['snsapi_userinfo'])->redirect($redirect);