作者 lyh

gx

@@ -39,6 +39,8 @@ class Wechat @@ -39,6 +39,8 @@ class Wechat
39 return Cache::get($cacheKey); 39 return Cache::get($cacheKey);
40 } 40 }
41 $url = 'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=' . $this->appid . '&secret=' . $this->appSecret; 41 $url = 'https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=' . $this->appid . '&secret=' . $this->appSecret;
  42 + var_dump($url);
  43 + die();
42 $response = http_get($url); 44 $response = http_get($url);
43 value($response); 45 value($response);
44 die(); 46 die();