You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?php
|
|
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
|
|
|
|
class Index extends CI_Controller {
|
|
|
|
|
|
|
|
public function __construct(){
|
|
|
|
parent::__construct();
|
|
|
|
mb_regex_encoding("UTF-8");
|
|
|
|
bcscale(4);
|
|
|
|
$this->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 */
|