zxhxx 3 yıl önce
ebeveyn
işleme
c05cb5b003
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      application/common/model/Article.php

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

@@ -102,7 +102,7 @@ class Article extends Model
         if(isset($where['key']) && $where['key']!='') $xwhere['title|synopsis']  = ['like',"%{$where['key']}%"];
         if(isset($where['order']) && $where['order']!='') $order = $where['order'];
         $list = $model->where($xwhere)->order($order)->page($where['page'],$where['limit'])->select();
-        echo $model->getLastSql();
+
         $count =  $model->where($xwhere)->count();
         return compact('count','list');
     }