Browse Source

getRaw 参数添加string

visuddhinanda 3 months ago
parent
commit
21558860e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api-v13/app/Services/TermService.php

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

@@ -33,7 +33,7 @@ class TermService
         return ['items' => $result, 'total' => count($result)];
         return ['items' => $result, 'total' => count($result)];
     }
     }
 
 
-    public function getRaw($id)
+    public function getRaw(string $id)
     {
     {
         $result = DhammaTerm::find($id);
         $result = DhammaTerm::find($id);
         return $result;
         return $result;