visuddhinanda %!s(int64=2) %!d(string=hai) anos
pai
achega
b7bd7bff9b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/Http/Resources/VocabularyResource.php

+ 1 - 0
app/Http/Resources/VocabularyResource.php

@@ -21,6 +21,7 @@ class VocabularyResource extends JsonResource
         return [
             "word"=>$this['word'],
             "count"=> $this['count'],
+            "strlen"=> $this['strlen'],
             "meaning"=> $dictMeaning->get($this['word'],$request->get("lang","zh-Hans")),
         ];
     }