2
0
Эх сурвалжийг харах

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

visuddhinanda 2 жил өмнө
parent
commit
bb73038f97

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

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