Is.php 655 B

1234567891011121314151617181920
  1. <?php defined('BASEPATH') OR exit('No direct script access allowed');
  2. class Is extends Start_Controller {
  3. public function __construct(){
  4. parent::__construct();
  5. $this->load->library('session');
  6. $this->load->_model('Model_is','is');
  7. $this->load->_model('Model_is2','is2');
  8. $this->load->_model('Model_fullorder','fullorder');
  9. $this->load->_model('Model_fullordertt','fullordertt');
  10. }
  11. public function _remap($arg,$arg_array)
  12. {
  13. $this->_index($arg);
  14. }
  15. public function _index($arg)
  16. {
  17. $data = $this->fullorder->get_orderinfo($arg);
  18. $this->fullorder->save(array('library'=>1,'retreattime'=>0),$data['id']);
  19. }
  20. }