소스 검색

book update fix

zz 6 년 전
부모
커밋
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) {