yingzi 2 年之前
父節點
當前提交
8e77e7531d
共有 1 個文件被更改,包括 1 次插入0 次删除
  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){