From ee6edf44673ec035aac5f4c70fc885f16d3542f1 Mon Sep 17 00:00:00 2001 From: Jason Date: Fri, 9 Sep 2022 11:22:32 +0800 Subject: [PATCH] wechat --- app/controller/Wechat.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controller/Wechat.php b/app/controller/Wechat.php index 6545870..be967eb 100644 --- a/app/controller/Wechat.php +++ b/app/controller/Wechat.php @@ -22,6 +22,7 @@ class Wechat public function config() { + $this->initWechat(); $response = $this->app->oauth->scopes(['snsapi_userinfo'])->redirect(); return $response->send(); }