visuddhinanda 2 лет назад
Родитель
Сommit
b7bd7bff9b
1 измененных файлов с 1 добавлено и 0 удалено
  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")),
         ];
     }