摘要: //更新数据 public function update(){ $wx = M('wxmenu'); $map['pid'] = 0; //查询主菜单数据 $wxmenu = $wx->where($map)->select(); $arr = array(); //循环主菜单 ... 阅读全文