@ -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;