This commit is contained in:
aozhiwei 2022-01-26 13:42:43 +08:00
parent 774d73010e
commit 4e3b199c2d
2 changed files with 16 additions and 0 deletions

View File

@ -81,6 +81,14 @@ class MarketController extends BaseController {
}
}
if ($this->isTestMode()) {
foreach(array_keys($presaleInfo) as $key) {
if (!is_null(getReqVal($key, null))) {
$presaleInfo[$key] = getReqVal($key, $presaleInfo[$key]);
}
}
}
$pageInfo['count'] = count($rows);
$pageInfo['total_pages'] = ceil($pageInfo['total'] / $pageInfo['per_page']);
myself()->_rspData(array(

View File

@ -81,6 +81,14 @@ class NewMarketController extends BaseController {
}
}
if ($this->isTestMode()) {
foreach(array_keys($presaleInfo) as $key) {
if (!is_null(getReqVal($key, null))) {
$presaleInfo[$key] = getReqVal($key, $presaleInfo[$key]);
}
}
}
$pageInfo['count'] = count($rows);
$pageInfo['total_pages'] = ceil($pageInfo['total'] / $pageInfo['per_page']);
myself()->_rspData(array(