소스 검색

添加可选参数 type

visuddhinanda 2 달 전
부모
커밋
4c00370a44
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      api-v13/app/Services/ChapterService.php

+ 1 - 1
api-v13/app/Services/ChapterService.php

@@ -255,7 +255,7 @@ class ChapterService
         return $result;
     }
 
-    public function publicChannels(int $book, int $para)
+    public function publicChannels(int $book, int $para, ?string $type = null)
     {
         $channelIds = ProgressChapter::with('channel')
             ->where('book', $book)