load->helper('array'); $this->load->model('BIZ_Orders_model'); $this->load->model('Group_model'); } public function index() { $vendor_plan = $this->Group_model->get_vendor_plan_info(214600, 1343); return $this->output->set_content_type('application/json')->set_output(json_encode($vendor_plan)); } public function push($COLI_ID) { $orderinfo = $this->BIZ_Orders_model->get_orderinfo_detail($COLI_ID); if(empty($orderinfo)) {return;} return $this->output->set_content_type('application/json')->set_output(json_encode($orderinfo)); } } /* End of file index.php */ /* Location: ./third_party/vendorPlanSync/controllers/index.php */