💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
``` //查询顶级分类 $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); } ```