|
@@ -149,6 +149,8 @@ class BookConfigService
|
|
|
public static function findFreeBooks(int $sex)
|
|
|
{
|
|
|
$config = self::findFreeBookConfig($sex);
|
|
|
+ \Log::info('return_empty_free_books:');
|
|
|
+ \Log::info($config);
|
|
|
if ($config) {
|
|
|
$free_books = FreeBook::where('config_id', $config->id)
|
|
|
->where('is_enabled', 1)
|