Explorar el Código

add guid in getGrammarGlossary

visuddhinanda hace 1 día
padre
commit
0da1d7c2e7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      api-v13/app/Services/TermService.php

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

@@ -92,7 +92,7 @@ class TermService
             "_System_Grammar_Term_" . strtolower($lang) . "_",
             "_System_Grammar_Term_en_"
         );
-        $result = DhammaTerm::select(['word', 'tag', 'meaning', 'other_meaning'])
+        $result = DhammaTerm::select(['guid', 'word', 'tag', 'meaning', 'other_meaning'])
             ->where('channal', $localTermChannel)
             ->get();
         return ['items' => $result, 'total' => count($result)];