dever 7 years ago
parent
commit
dbefb83502
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tm/lib/Controller/WeixinJsSDK.class.php

+ 1 - 0
tm/lib/Controller/WeixinJsSDK.class.php

@@ -82,6 +82,7 @@ class WeixinJsSDK extends Controller {
 	    if ($data->expire_time < time()) {  
 	      $accessToken = $this->getAccessToken();  
 	      $url = 'https://api.weixin.qq.com/cgi-bin/ticket/getticket?type=jsapi&access_token=' . $accessToken;  
+	      echo $url;die;
 	      $res = json_decode($this->httpGet($url));  
 	      $ticket = $res->ticket;  
 	      if ($ticket) {