|
|
@@ -54,7 +54,7 @@ class PayHandler extends BasePayHandler
|
|
|
$data['sdNotifyUrl'] = $this->notifyUrl; //异步回调地址
|
|
|
|
|
|
$data['secret'] = $this->Key; //签名的秘钥
|
|
|
- file_put_contents('sting.txt',\GuzzleHttp\json_encode($data));
|
|
|
+
|
|
|
$data['sign'] = PayUtils::makeSign($data);
|
|
|
|
|
|
file_put_contents('sign.txt',$data['sign']);
|