Erpxgj.php 619 B

123456789101112131415161718192021222324252627
  1. <?php defined('BASEPATH') OR exit('No direct script access allowed');
  2. /**
  3. * 一些服务与erp自检的小工具
  4. */
  5. class Erpxgj extends Start_Controller {
  6. public function __construct(){
  7. parent::__construct();
  8. $this->load->library('session');
  9. }
  10. //定义方法的调用规则 获取URI第二段值
  11. public function _remap($arg,$arg_array)
  12. {
  13. if($arg == 'scanbar')//添加
  14. {
  15. $this->_sacnbar();
  16. }
  17. else
  18. {
  19. exit('No direct script access allowed');
  20. }
  21. }
  22. public function _sacnbar(){
  23. $this->_Template('erpxg_sacnbar',$this->data);
  24. }
  25. }