add clear

This commit is contained in:
2021-04-06 15:50:37 +08:00
parent 50773cefad
commit 457d0ebd4e
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -694,6 +694,8 @@ class HttpClient
curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POST, 1);
if (!is_string($data)) { if (!is_string($data)) {
curl_setopt($ch, CURLOPT_POSTFIELDS, $this->mergeParams($data)); curl_setopt($ch, CURLOPT_POSTFIELDS, $this->mergeParams($data));
} else {
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
} }
} }
-2
View File
@@ -117,8 +117,6 @@ class Recharge extends SmallProgram
$data['sign'] = Help::sign($data, $key, $sign_type); $data['sign'] = Help::sign($data, $key, $sign_type);
$data['sign_type'] = $sign_type; $data['sign_type'] = $sign_type;
var_dump($data);
return Help::toXml($data); return Help::toXml($data);
} }