rabin 5 years ago
parent
commit
d557b584ad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      buy/src/Buy.php

+ 1 - 1
buy/src/Buy.php

@@ -20,7 +20,7 @@ class Buy extends Base
         }
         */
         $where = array();
-        $where['cate_id'] = 1;
+        $where['cate_id'] = $this->cate;
         //$where['buy'] = 1;
         $data = Dever::db('journal/info')->getAllByPage($where);