public function _initialize() { parent::_initialize(); $this->return_url = "http://" . $_SERVER['HTTP_HOST'] . "/Mpay/payreturn"; $this->notify_url = "http://" . $_SERVER['HTTP_HOST'] . "/Mpay/paynotice"; $this->member_url = "http://" . $_SERVER['HTTP_HOST'] . "/member"; try { import('App.Api.llpay'); $this->payCore = llpay::getInstance(); } catch (Exception $e) { $this->errLog($e, '_initialize'); die($e->getMessage()); } }
public function __construct() { parent::__construct(); D("DebtBehavior"); $this->Debt = new DebtBehavior($this->uid); }