浏览代码

"type" => __('labels.'

visuddhinanda 11 月之前
父节点
当前提交
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,
                 "author" => $book->channel->name,
                 "publisher" => $book->channel->owner->nickname,
-                "type" => __('label.' . $book->channel->type),
+                "type" => __('labels.' . $book->channel->type),
                 "category_id" => $id,
                 "cover" => "/assets/images/cover/1/214.jpg",
                 "description" => $book->summary ?? "比库戒律的详细说明",