From 814495f604728869280710409ffbd9345f3084c4 Mon Sep 17 00:00:00 2001 From: wang hou sheng <76928547+wanghousheng@users.noreply.github.com> Date: Tue, 9 Apr 2024 11:25:57 +0800 Subject: [PATCH] 1 --- app/common/library/wxserver/Server.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/common/library/wxserver/Server.php b/app/common/library/wxserver/Server.php index 61921986..aac8451b 100644 --- a/app/common/library/wxserver/Server.php +++ b/app/common/library/wxserver/Server.php @@ -227,8 +227,9 @@ class Server */ public function getTemplatedraftlist() { + if (Cache::has('wx_server_drafttemplatelist')) { - return Cache::get('wx_server_drafttemplatelist'); + //return Cache::get('wx_server_drafttemplatelist'); } $token = $this->getComponentAccessToken(); return [$token];