diff --git a/app/common/library/wxserver/Server.php b/app/common/library/wxserver/Server.php index ab092a57..8df9fa4a 100644 --- a/app/common/library/wxserver/Server.php +++ b/app/common/library/wxserver/Server.php @@ -227,9 +227,10 @@ 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]; $list = []; if ($token) { $url = 'https://api.weixin.qq.com/wxa/gettemplatedraftlist?access_token=' . $token;