fly 4 년 전
부모
커밋
622eb78be9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Modules/Book/Services/BookConfigService.php

+ 1 - 1
app/Modules/Book/Services/BookConfigService.php

@@ -529,7 +529,7 @@ class BookConfigService
             }
         }
         return FreeBook::where('bid', $bid)
-            ->where('config_id', $ids)
+            ->whereIn('config_id', $ids)
             ->where('is_enabled', 1)->exists();
     }
 }