This commit is contained in:
devil_gong 2018-10-25 18:32:57 +08:00
parent 551cb5ac93
commit 115e6b7464

View File

@ -168,9 +168,9 @@ class AlipayLife
{
if($status === true)
{
$response_xml = '<success>true</success><biz_content>'.$this->life_data['rsa_public'].'</biz_content>';
$response_xml = '<biz_content>'.$this->life_data['rsa_public'].'</biz_content><success>true</success>';
} else {
$response_xml = '<success>false</success><error_code>VERIFY_FAILED</error_code><biz_content>'.$this->life_data['rsa_public'].'</biz_content>';
$response_xml = '<error_code>VERIFY_FAILED</error_code><biz_content>'.$this->life_data['rsa_public'].'</biz_content><success>false</success>';
}
$return_xml = '<?xml version="1.0" encoding="GBK"?>
<alipay>