Explorar el Código

添加可选参数 type

visuddhinanda hace 2 semanas
padre
commit
4c00370a44
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)