e před 8 roky
rodič
revize
a1f8dcb317
1 změnil soubory, kde provedl 1 přidání a 3 odebrání
  1. 1 3
      www/protected/components/QyWechat.php

+ 1 - 3
www/protected/components/QyWechat.php

@@ -888,14 +888,12 @@ class QyWechat
 		}
 
 		$authname = 'qywechat_access_token'.$appid;
-		/*
 		if ($rs = $this->getCache($authname))  {
 			$this->access_token = $rs;
 			return $rs;
-		}*/
+		}
 
 		$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);