public function _initialize()
 {
     parent::_initialize();
     if (LEVEL_ID != 0) {
         $this->error('没有权限');
     }
     $this->where = array('level' => $this->agentid);
 }
	public function _initialize() {
		parent::_initialize();
		$this->alipayOpen=0;
		if (C('alipay_pid')&&C('alipay_name')&&C('alipay_key')){
			$this->alipayOpen=1;
		}
		$this->assign('alipayOpen',$this->alipayOpen);
	}
Exemple #3
0
	public function _initialize() {
		parent::_initialize();
	}