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

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

@@ -1880,7 +1880,7 @@ class AlbumController extends Controller
         // Cache::flush();
         // Cache::flush();
         $value = Cache::get($open_id);
         $value = Cache::get($open_id);
         \Log::info($value);\Log::info('2225');
         \Log::info($value);\Log::info('2225');
-        if ($open_id && !empty($weChatApp->wxaccount_template_id) && (!$value || ($value + 60) <= time())) {
+        if ($open_id && !empty($weChatApp->wxaccount_template_id) ) {
             Cache::put($open_id, time(), 1);
             Cache::put($open_id, time(), 1);
           /*  $config = [
           /*  $config = [
                 'app_id' => $weChatApp->G_app_id,
                 'app_id' => $weChatApp->G_app_id,