dever 6 years ago
parent
commit
42497532cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/src/Buy.php

+ 1 - 1
service/src/Buy.php

@@ -52,7 +52,7 @@ class Buy extends Base
     # 列表页 我已购买的兑换码
     public function lists_code()
     {
-        $where['cate_id'] = $this->system;
+        $where['cate_id'] = $this->cate;
         $where['create_uid'] = $this->user['id'];
         //$where['type'] = 3;
         $data = Dever::db('code/info')->getAll($where);