zxhxx há 3 anos atrás
pai
commit
786d98fa5d
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      application/common/model/Article.php

+ 1 - 0
application/common/model/Article.php

@@ -88,6 +88,7 @@ class Article extends Model
     {
         $model = new self;
         $model =$model->where('hidedata',0)->where('status',1);
+        dump($where);
         if(isset($where['cid']) && $where['cid']>0) $model = $model->where('cid',$where['cid']);
         if(isset($where['is_hot']) && $where['is_hot']==1) $model = $model->where('is_hotdata',$where['is_hot']);
         if(isset($where['is_rec']) && $where['is_rec']==1) $model = $model->where('is_recdata',$where['is_rec']);