|
|
@@ -67,7 +67,7 @@ class PayHandler extends BasePayHandler
|
|
|
*/
|
|
|
public function handleNotify($data)
|
|
|
{
|
|
|
-// $data['secret'] = $this->Key;
|
|
|
+ $data['secret'] = $this->Key;
|
|
|
$tt = print_r($data,true);
|
|
|
file_put_contents('payplat_data.txt',$tt);
|
|
|
if (isset($data['sign']) && trim($data['sign']) !== '') {
|
|
|
@@ -106,6 +106,7 @@ class PayHandler extends BasePayHandler
|
|
|
public function outNotify($success)
|
|
|
{
|
|
|
if ($success == true) {
|
|
|
+ file_put_contents('huiqi6.txt',$success);
|
|
|
return 'success';
|
|
|
} else {
|
|
|
// 返回的数据格式
|