/** * 获取域名地址 */ function getDomain() { $domain = null; if (parent::isInSandBox()) { $domain = $this->SANDBOX_WAP_LOGIN_ADDRESS; } else { $domain = $this->WAP_LOGIN_ADDRESS; } return $domain; }
public function getDomain() { $domain = NULL; if (parent::isInSandBox()) { $domain = $this->SANDBOX_WAP_JUMP_TO_TENPAY_ADDRESS; } else { $domain = $this->WAP_JUMP_TO_TENPAY_ADDRESS; } return $domain; }