Esempio n. 1
0
 function __construct()
 {
     parent::__construct();
     $this->_appid = $this->model('system')->get('appid', 'weixin');
     $this->_appsecret = $this->model('system')->get('appsecret', 'weixin');
     $this->_wechat = new wechat($this->_appid, $this->_appsecret);
 }
Esempio n. 2
0
 function __construct()
 {
     parent::__construct();
     $this->_template_dir = 'mobile/';
     $this->_config = config('view');
     $this->_system = $this->model('system');
 }
Esempio n. 3
0
 /**
  * 构造函数
  */
 function __construct()
 {
     parent::__construct();
     $this->_template_dir = 'o2o/';
     $this->_config = config('view');
 }