tongshanglei 2 years ago
parent
commit
2d987ab7b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/common.php

+ 1 - 1
app/common.php

@@ -1394,7 +1394,7 @@ use think\facade\Cache;
         $redis_info= $redis->hget('vehicle_table_count', $whereStr);
         if($redis_info){
             $info=json_decode($redis_info,true);
-            if((time()-$info['time'])<24*3600){
+            if((time()-$info['time'])<600){
                 return $info['count'];
             }
         }