摘要: function get_cat($cid=0){//递归算法 $nav=M('nav'); $cat=$nav->where('pre_id='.$cid)->select(); foreach($cat as $key=>$val){ $cats=$this->get_cat($val['id' 阅读全文
posted @ 2017-07-25 16:23 皇家玄学团 阅读(115) 评论(0) 推荐(0) 编辑