فهرست منبع

read record redis

zz 6 سال پیش
والد
کامیت
89345fe65e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/Console/Commands/BookTest.php

+ 1 - 1
app/Console/Commands/BookTest.php

@@ -588,7 +588,7 @@ class BookTest extends Command
                 Redis::del('book_read:'.$i);
                 continue;
             }
-            $last_info = explode(',',explode('_',$last_read));
+            $last_info = explode('_',$last_read);
             if(time()-$last_info[2]>=5*30*86400 ){
                 $record = Redis::hgetall('book_read:'.$i);
                 $data = [];