|
|
@@ -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){
|