dyjh il y a 6 ans
Parent
commit
2c56e2f547
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/Http/Controllers/Api/V1/AlbumController.php

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

xqd
@@ -1880,7 +1880,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) && (!$value || ($value + 60) <= time())) {
+        if ($open_id && !empty($weChatApp->wxaccount_template_id) ) {
             Cache::put($open_id, time(), 1);
           /*  $config = [
                 'app_id' => $weChatApp->G_app_id,