|
@@ -474,7 +474,7 @@ class BookConfigService
|
|
*/
|
|
*/
|
|
public static function findFreeBookConfig(int $sex)
|
|
public static function findFreeBookConfig(int $sex)
|
|
{
|
|
{
|
|
- return FreeBookConfig::where(['sex' => $sex, 'is_enable' => 1])->orderBy('end_time')->first();
|
|
|
|
|
|
+ return FreeBookConfig::where(['sex' => $sex, 'is_enabled' => 1])->orderBy('end_time')->first();
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|