作者 耿培杰

修改我的订单

... ... @@ -283,7 +283,7 @@ class Member extends Api
$limit = Config::get('paginate.index_rows');
if (empty($type)) $this->error('缺少参数 type!');
$where = ['user_id' => $userId];
if ($type == 1) $where['type'] = ['neq', 3];
if ($type == 1) $where['type'] = ['in', '1,2'];
else $where['type'] = ['eq', 3];
$list = $orderModel->selectPageData($where, $page, $limit);
$data = [];
... ...