diff --git a/service/Application/Library/AlipayLife.class.php b/service/Application/Library/AlipayLife.class.php index b04bf83eb..ba2e31d2c 100644 --- a/service/Application/Library/AlipayLife.class.php +++ b/service/Application/Library/AlipayLife.class.php @@ -96,17 +96,19 @@ class AlipayLife { if($this->OutRsaVerify($this->ArrayToUrlString($this->params), $this->params['sign'])) { - die(' - - - '.$this->life_data['rsa_public'].' - true - - '.$this->MyRsaSign(''.$this->life_data['rsa_public'].'true').' - RSA2 - '); + $response_xml = 'true'.$this->life_data['rsa_public'].''; + } else { + $response_xml = 'falseVERIFY_FAILED'.$this->life_data['rsa_public'].''; } - die('check error'); + die(' + + + '.$this->life_data['rsa_public'].' + true + + '.$this->MyRsaSign($response_xml).' + RSA2 + '); }