| xqd
@@ -1955,7 +1955,7 @@ class AlbumController extends Controller
|
|
|
$url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" . $app->app_id . "&secret=" . $app->app_secret;
|
|
|
$data = $this->curlGet($url);
|
|
|
\Log::info($data);
|
|
|
- $data = json_decode($data["content"], true);
|
|
|
+ $data = json_decode($data, true);
|
|
|
if( !isset($data["access_token"]) )
|
|
|
{
|
|
|
return false;
|