Quellcode durchsuchen

添加可选参数 type

visuddhinanda vor 2 Wochen
Ursprung
Commit
4c00370a44
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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)