* Finish task #3807, 3831, 3833.

This commit is contained in:
liugang
2018-04-23 15:48:41 +08:00
parent 05a8506b2f
commit 2d111e23eb
27 changed files with 307 additions and 104 deletions
+3 -3
View File
@@ -394,12 +394,12 @@ class blockModel extends model
}
/**
* Get product report params.
* Get product statistic params.
*
* @access public
* @return string
*/
public function getReportParams()
public function getStatisticParams()
{
$params = new stdclass();
$params->type['name'] = $this->lang->block->type;
@@ -411,7 +411,7 @@ class blockModel extends model
$params->orderBy['options'] = $this->lang->block->orderByList->product;
$params->orderBy['control'] = 'select';
return json_encode($params);
return json_encode($this->onlyNumParams($params));
}
/**