Explorar el Código

添加 aricle 模版的text参数

visuddhinanda hace 2 años
padre
commit
384ea4068c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/Http/Api/TemplateRender.php

+ 1 - 0
app/Http/Api/TemplateRender.php

@@ -250,6 +250,7 @@ class TemplateRender{
         return [
         return [
             'props'=>base64_encode(\json_encode($props)),
             'props'=>base64_encode(\json_encode($props)),
             'html'=>"",
             'html'=>"",
+            'text'=>$title,
             'tag'=>'span',
             'tag'=>'span',
             'tpl'=>'article',
             'tpl'=>'article',
             ];
             ];