dyjh 6 years ago
parent
commit
150a3396e3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/Http/Controllers/Api/V1/AlbumController.php

+ 2 - 1
app/Http/Controllers/Api/V1/AlbumController.php

xqd xqd
@@ -1879,7 +1879,7 @@ class AlbumController extends Controller
     {
         // Cache::flush();
         $value = Cache::get($open_id);
-        \Log::info($value);\Log::info('2225');
+
         if ($open_id && !empty($weChatApp->wxaccount_template_id) ) {
             Cache::put($open_id, time(), 1);
           /*  $config = [
@@ -1954,6 +1954,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);
         if( !isset($data["access_token"]) )
         {