Răsfoiți Sursa

TODO 判断$channelId里面的是否都是uuid

visuddhinanda 2 ani în urmă
părinte
comite
bb73038f97
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      app/Http/Api/MdRender.php

+ 2 - 0
app/Http/Api/MdRender.php

@@ -229,7 +229,9 @@ class MdRender{
             }
             /**
              * 生成模版参数
+             *
              */
+            //TODO 判断$channelId里面的是否都是uuid
             $channelInfo = Channel::whereIn('uid',$channelId)->get();
             $tplRender = new TemplateRender($props,$channelInfo,$mode);
             $tplProps = $tplRender->render($tpl_name);