浏览代码

book update fix

zz 5 年之前
父节点
当前提交
5e4941fdba
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {