Browse Source

book update fix

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