where(['parent_id'=>0,'status'=>1])->order('id asc')->select(); $this->view->assign("cate",$cate); return $this->fetch(); } }