yingzi 2 years ago
parent
commit
8e77e7531d
1 changed files with 1 additions and 0 deletions
  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){