data($result); } public function getServiceInfo(){ $type = $this->request->get('type', 1); $area_id = $this->request->get('area_id', ''); $result = WorkbenchLogic::getServiceInfo($type,$area_id); return $this->data($result); } public function getProductionInfo(){ $start_time = $this->request->get('start_time', ''); $end_time = $this->request->get('end_time', ''); $area_id = $this->request->get('area_id', ''); $result = WorkbenchLogic::getProductionInfo($area_id,$start_time,$end_time); return $this->data($result); } }