From 4d20e2488335b9b399fee1d178089441c2d440f5 Mon Sep 17 00:00:00 2001 From: wang hou sheng <76928547+wanghousheng@users.noreply.github.com> Date: Tue, 9 Apr 2024 11:24:49 +0800 Subject: [PATCH] 1 --- app/common/library/wxserver/Server.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/common/library/wxserver/Server.php b/app/common/library/wxserver/Server.php index 8df9fa4a..61921986 100644 --- a/app/common/library/wxserver/Server.php +++ b/app/common/library/wxserver/Server.php @@ -65,6 +65,7 @@ class Server $data['component_verify_ticket'] = $ticket; $result = $this->curlPost($url, json_encode($data), 10); $result = json_decode($result, true); + return $result; if (!empty($result['component_access_token'])) { Cache::set('ComponentAccessToken', $result['component_access_token'], 6200); return $result['component_access_token'];