소스 검색

"type" => __('labels.'

visuddhinanda 1 년 전
부모
커밋
411ba7d9b7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      api-v8/app/Http/Controllers/CategoryController.php

+ 1 - 1
api-v8/app/Http/Controllers/CategoryController.php

@@ -115,7 +115,7 @@ class CategoryController extends Controller
                 "title" => $title,
                 "title" => $title,
                 "author" => $book->channel->name,
                 "author" => $book->channel->name,
                 "publisher" => $book->channel->owner->nickname,
                 "publisher" => $book->channel->owner->nickname,
-                "type" => __('label.' . $book->channel->type),
+                "type" => __('labels.' . $book->channel->type),
                 "category_id" => $id,
                 "category_id" => $id,
                 "cover" => "/assets/images/cover/1/214.jpg",
                 "cover" => "/assets/images/cover/1/214.jpg",
                 "description" => $book->summary ?? "比库戒律的详细说明",
                 "description" => $book->summary ?? "比库戒律的详细说明",