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); }
public function _initialize() { parent::_initialize(); }