dyjh 6 năm trước cách đây
mục cha
commit
2c56e2f547
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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,