zz 6 years ago
parent
commit
90e36fcc34
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Console/Commands/BookTest.php

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

@@ -582,6 +582,7 @@ class BookTest extends Command
         //$not_uid_key = ['last_read','send_order_id','sign_count','sign_counts','sign_info','sign_day','smart_push','inner_send_order_id','gxhp','property','bind_phone_status','ua'];
         $k = 0;
         while ( $i<108655782 ){
+            $i++;
             $last_read = ReadRecordService::getByField($i,'last_read');
             if(!$last_read){
                 $k++;
@@ -601,7 +602,6 @@ class BookTest extends Command
                 Redis::del('book_read:'.$i);
                 DB::table('read_record_from_redis')->insert($data);
             }
-            $i++;
         }
         echo 'delete ' . $k . ' keys' . PHP_EOL;
     }