fly 4 年 前
コミット
e34fa30c8b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/Modules/Book/Services/BookConfigService.php

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

@@ -497,7 +497,7 @@ class BookConfigService
             $book_list = $book_configs->transform(function ($item) use ($books) {
                 $book = $books->where('id', $item->bid)->first();
                 return [
-                    'bid' => Hashids::encode($item->bid),
+                    'book_id' => Hashids::encode($item->bid),
                     'cover_url' => $item->cover,
                     'book_name' => $item->book_name,
                     'intro' => $book->intro,