Thinkphp5实现无限极分类

商品分类页显示   主要调用common里的函数:在控制器调用getlevel()的方法,在递归方法里用到的函数有:str_repeat()   array_merge()在控制器controller先赋值   public function index(){     $data = db("数据表")->select();     return $this->fetch("",['data'=>
相关文章
相关标签/搜索