diff --git a/doc/Market.py b/doc/Market.py index 71130441..82ae4159 100644 --- a/doc/Market.py +++ b/doc/Market.py @@ -339,6 +339,8 @@ class Market(object): ['token', '', 'token'], ['start', 0, '分页开始偏移'], ['page_size', 0, '分页大小'], + ['order_method', 0, '排序方式 0:默认排序(当前指向1) 1:上架时间 2:价格 3:星级质量 4:等级 5:能量值 6:生命值 7:攻击力 8:防御力'], + ['order_asc', 0, '排序方向, 0:从小到大 1:从大到小'], ['type', 0, '物品类型 1:英雄 2:武器 3:芯片'], ['job_filters', '', '职业过滤(用|分割)'], ['search_filters', '', '搜索过滤(用|分割)'], diff --git a/webapp/controller/MarketController.class.php b/webapp/controller/MarketController.class.php index debc1686..bfb31e2b 100644 --- a/webapp/controller/MarketController.class.php +++ b/webapp/controller/MarketController.class.php @@ -667,8 +667,6 @@ class MarketController extends BaseController { $account = '0x9a4d9dd2bfcad659975f0f5a480625c7929e9385'; $rows = $this->getNftListByAccountAndType($account, $type); - // error_log(json_encode($rows[0])); - // $rows = Nft::getNftListByType($account, $type); $total = count($rows); $page_end = $start + $page_size;