|
@@ -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();
|
|
}
|
|
}
|
|
}
|
|
}
|