add clear
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user