DBTool->queryBySql($sql); $data['code'] = $rowset['code']; $data['info'] = $rowset['info']; $sql = "select id,true_name from base_user"; $data['user'] = $this->DBTool->queryBySql($sql); $data['data'] = $rowset['rowset']; return $data; } } //$OBJ = new HTOrderDetail(); //$data =$OBJ ->getOrderDetail(); //echo json_encode($data);