wang hou sheng 8 months ago
parent 814495f604
commit 3a694fc1dc
  1. 2
      app/common/library/wxserver/Server.php

@ -54,7 +54,7 @@ class Server
public function getComponentAccessToken() public function getComponentAccessToken()
{ {
if (Cache::has('ComponentAccessToken')) { if (Cache::has('ComponentAccessToken')) {
return Cache::get('ComponentAccessToken'); //return Cache::get('ComponentAccessToken');
} }
$url = 'https://api.weixin.qq.com/cgi-bin/component/api_component_token'; $url = 'https://api.weixin.qq.com/cgi-bin/component/api_component_token';
$ticket = Cache::get('component_verify_ticket'); $ticket = Cache::get('component_verify_ticket');

Loading…
Cancel
Save