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)
         return FreeBook::where('bid', $bid)
-            ->where('config_id', $ids)
+            ->whereIn('config_id', $ids)
             ->where('is_enabled', 1)->exists();
             ->where('is_enabled', 1)->exists();
     }
     }
 }
 }