|
@@ -82,8 +82,9 @@ class BaseClient
|
|
|
$params['sign'] = Support\generate_sign($params, $secretKey, $encryptMethod);
|
|
$params['sign'] = Support\generate_sign($params, $secretKey, $encryptMethod);
|
|
|
if ($endpoint == 'papay/entrustweb'){
|
|
if ($endpoint == 'papay/entrustweb'){
|
|
|
$params['notify_url'] = urlencode($params['notify_url']);
|
|
$params['notify_url'] = urlencode($params['notify_url']);
|
|
|
|
|
+ @file_put_contents("quanju.txt", $params['nonce_str'] . "-encode处理后的回调地址\r\n", 8);
|
|
|
}
|
|
}
|
|
|
- @file_put_contents("quanju.txt", $params['nonce_str'] . "-encode处理后的回调地址\r\n", 8);
|
|
|
|
|
|
|
+
|
|
|
$options = array_merge([
|
|
$options = array_merge([
|
|
|
'body' => Support\XML::build($params),
|
|
'body' => Support\XML::build($params),
|
|
|
], $options);
|
|
], $options);
|