This commit is contained in:
2022-09-09 11:22:32 +08:00
parent c9899e260c
commit ee6edf4467

View File

@@ -22,6 +22,7 @@ class Wechat
public function config() public function config()
{ {
$this->initWechat();
$response = $this->app->oauth->scopes(['snsapi_userinfo'])->redirect(); $response = $this->app->oauth->scopes(['snsapi_userinfo'])->redirect();
return $response->send(); return $response->send();
} }