Browse Source

book update fix

zz 5 years ago
parent
commit
5e4941fdba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Console/Commands/BookUpdate.php

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

@@ -117,7 +117,7 @@ class BookUpdate extends Command
             $item1 = null;
         }
         Log::info('$remote_count is: ' . $remote_count . '====$local_count :' . $local_count . '----');
-        if ($remote_count == $local_count) return '';
+        if ($remote_count <= $local_count) return '';
         Log::info('$bid =: ' . $bid . '---is lack---');
         $start = false;
         if (!$last_chapter) {