@@ -227,6 +227,7 @@ return array
# 匹配的正则或函数 选填项
'option' => array
(
+ 'cate_id' => 'yes',
'create_uid' => 'yes',
'state' => 1,
),
@@ -52,6 +52,7 @@ class Buy extends Base
# 列表页 我已购买的兑换码
public function lists_code()
{
+ $where['cate_id'] = $this->system;
$where['create_uid'] = $this->user['id'];
//$where['type'] = 3;
$data = Dever::db('code/info')->getAll($where);