...market...

This commit is contained in:
songliang 2022-12-05 12:05:00 +08:00
parent a5caec4526
commit afefc650b6
2 changed files with 23 additions and 1 deletions

View File

@ -298,8 +298,8 @@ class Market(object):
['start', 0, '分页开始偏移'], ['start', 0, '分页开始偏移'],
['page_size', 0, '分页大小'], ['page_size', 0, '分页大小'],
['order_method', 0, '排序方式 0:默认排序(当前指向1) 1:上架时间 2:价格 3:星级质量 4:等级 5:能量值 6:生命值 7:攻击力 8:防御力'], ['order_method', 0, '排序方式 0:默认排序(当前指向1) 1:上架时间 2:价格 3:星级质量 4:等级 5:能量值 6:生命值 7:攻击力 8:防御力'],
['type', 0, '物品类型 1:英雄 2:武器 3:芯片'],
['order_asc', 0, '排序方向, 0:从小到大 1:从大到小'], ['order_asc', 0, '排序方向, 0:从小到大 1:从大到小'],
['type', 0, '物品类型 1:英雄 2:武器 3:芯片'],
['job_filters', '', '职业过滤(用|分割)'], ['job_filters', '', '职业过滤(用|分割)'],
['search_filters', '', '搜索过滤(用|分割)'], ['search_filters', '', '搜索过滤(用|分割)'],
['lv_filter', 0, '等级过滤'], ['lv_filter', 0, '等级过滤'],

View File

@ -534,4 +534,26 @@ class MarketController extends BaseController {
myself()->_rspOk(); myself()->_rspOk();
} }
public function listSellNfts()
{
$account = getReqVal('account', '');
$token = getReqVal('token', '');
$start = getReqVal('start', 0);
$page_size = getReqVal('page_size', 10);
$order_method = getReqVal('order_method', 0);
$order_asc = getReqVal('order_asc', 1);
$type = getReqVal('type', 1);
$job_filters = getReqVal('job_filters', '');
$job_filter_array = explode('|', $job_filters);
$search_filters = getReqVal('search_filters', '');
$search_filter_array = explode('|', $search_filters);
$lv_filter = getReqVal('lv_filter', 15);
$price_filter = getReqVal('price_filter', '');
$price_filter_array = explode('|', $price_filter);
echo $price_filter_array;
}
} }