This commit is contained in:
aozhiwei 2023-08-08 16:34:32 +08:00
parent f1b212e376
commit a86bebddd2

View File

@ -1,5 +1,7 @@
<?php
require_once('phpcommon/bignumber.php');
require_once('mt/Item.php');
require_once('mt/Parameter.php');
@ -28,6 +30,13 @@ class MallController extends BaseAuthedController {
const PRICE_LOW = '1';
const PRICE_HIGH = '111111111111111111111000000000000000000';
public function _handlePre()
{
parent::_handlePre();
$this->priceLowBn = phpcommon\bnInit(self::PRICE_LOW);
$this->priceHighBn = phpcommon\bnInit(self::PRICE_HIGH);
}
public function productList()
{
$page = getReqVal('page', 0);