yingzi před 2 roky
rodič
revize
8e77e7531d
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      app/model/api/ShowTemplate.php

+ 1 - 0
app/model/api/ShowTemplate.php

@@ -27,6 +27,7 @@ class ShowTemplate extends Model
         if(isset($post["is_recommend"]) && in_array((string)$post["is_recommend"], ["0","1"])){
             $where[]=["is_recommend","=",(int)$post["is_recommend"]];
         }
+        var_dump($where);
         $totalCount = $this->where($where)->count();
         $data=null;
         if($totalCount>0){