企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
``` //查询顶级分类 $mccjc = M('mcc_jc')->where(array('pid'=>0))->select(); ***** //查询子分类 if (IS_POST){ $pid =I('pid'); $result = M('mcc_jc')->where(array('pid'=>$pid))->field('id,name')->select(); $this->ajaxReturn($result); } ```