rabin 5 年之前
父節點
當前提交
d557b584ad
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);