Ver Fonte

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

visuddhinanda há 2 anos atrás
pai
commit
bb73038f97
1 ficheiros alterados com 2 adições e 0 exclusões
  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);