Преглед изворни кода

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

visuddhinanda пре 2 година
родитељ
комит
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);