shh
parent
da18bed2e3
commit
fb6a1758e0
|
|
@ -40,7 +40,6 @@ class AlipayLife
|
||||||
// 当前生活号是否存在
|
// 当前生活号是否存在
|
||||||
if(empty($this->life_data))
|
if(empty($this->life_data))
|
||||||
{
|
{
|
||||||
file_put_contents('./ssssss.txt', 111);
|
|
||||||
die('life error');
|
die('life error');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -97,10 +96,8 @@ class AlipayLife
|
||||||
{
|
{
|
||||||
if($this->OutRsaVerify($this->ArrayToUrlString($this->params), $this->params['sign']))
|
if($this->OutRsaVerify($this->ArrayToUrlString($this->params), $this->params['sign']))
|
||||||
{
|
{
|
||||||
file_put_contents('./ssssss.txt', 222);
|
|
||||||
$response_xml = '<success>true</success><biz_content>'.$this->life_data['rsa_public'].'</biz_content>';
|
$response_xml = '<success>true</success><biz_content>'.$this->life_data['rsa_public'].'</biz_content>';
|
||||||
} else {
|
} else {
|
||||||
file_put_contents('./ssssss.txt', 333);
|
|
||||||
$response_xml = '<success>false</success><error_code>VERIFY_FAILED</error_code><biz_content>'.$this->life_data['rsa_public'].'</biz_content>';
|
$response_xml = '<success>false</success><error_code>VERIFY_FAILED</error_code><biz_content>'.$this->life_data['rsa_public'].'</biz_content>';
|
||||||
}
|
}
|
||||||
$return_xml = '<?xml version="1.0" encoding="GBK"?>
|
$return_xml = '<?xml version="1.0" encoding="GBK"?>
|
||||||
|
|
@ -112,7 +109,6 @@ class AlipayLife
|
||||||
<sign>'.$this->MyRsaSign($response_xml).'</sign>
|
<sign>'.$this->MyRsaSign($response_xml).'</sign>
|
||||||
<sign_type>RSA2</sign_type>
|
<sign_type>RSA2</sign_type>
|
||||||
</alipay>';
|
</alipay>';
|
||||||
file_put_contents('./ssssss.txt', $return_xml);
|
|
||||||
die($return_xml);
|
die($return_xml);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue