瀏覽代碼

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

visuddhinanda 3 年之前
父節點
當前提交
bb73038f97
共有 1 個文件被更改,包括 2 次插入0 次删除
  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);