fly 4 years ago
parent
commit
7e47065b51
1 changed files with 0 additions and 1 deletions
  1. 0 1
      app/Modules/Book/Services/BookConfigService.php

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

@@ -521,7 +521,6 @@ class BookConfigService
      */
     public static function judgeBookIsFree(int $bid)
     {
-        $config = self::findFreeBookConfig(1);
         $ids = [];
         foreach ([1, 2] as $sex) {
             $config = self::findFreeBookConfig($sex);