|
@@ -886,7 +886,7 @@ class QyWechat
|
|
|
$this->access_token=$token;
|
|
|
return $this->access_token;
|
|
|
}
|
|
|
-
|
|
|
+ var_dump($token);
|
|
|
$authname = 'qywechat_access_token'.$appid;
|
|
|
if ($rs = $this->getCache($authname)) {
|
|
|
$this->access_token = $rs;
|
|
@@ -894,6 +894,7 @@ class QyWechat
|
|
|
}
|
|
|
|
|
|
$result = $this->http_get(self::API_URL_PREFIX.self::TOKEN_GET_URL.'corpid='.$appid.'&corpsecret='.$appsecret);
|
|
|
+ var_dump($result);
|
|
|
if ($result)
|
|
|
{
|
|
|
$json = json_decode($result,true);
|