Commit bb731219 by 庄欣

fix bug

parent e74a3eb4
......@@ -23,6 +23,12 @@ class Category extends ControllerBase
}
}
public function index($query = "", $checkUid = true)
{
$this->combine(['size' => 1000]);
return parent::index($query, $checkUid);
}
protected function list_to_tree($list, $pk='id', $pid = 'pid', $child = 'child', $root = 0) {
$tree = array();
if(is_array($list)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment