Skip to content

Commit 52ecbe9

Browse files
author
zouyi6
committed
data send by query string
1 parent 058bfcd commit 52ecbe9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Requests/AbstractAopRequest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,10 @@ public function setAlipayPublicKey($value)
176176
public function sendData($data)
177177
{
178178
$url = $this->getRequestUrl($data);
179-
$body = $this->getRequestBody();
179+
//@TODO send by query string limits data length
180+
// but sign everything together
180181

181-
$response = $this->httpClient->post($url, [], $body);
182+
$response = $this->httpClient->post($url, [], []);
182183

183184
$response = $this->decode($response->getBody());
184185

@@ -195,7 +196,6 @@ protected function getRequestUrl($data)
195196
{
196197
$queryParams = $data;
197198

198-
unset($queryParams['biz_content']);
199199
ksort($queryParams);
200200

201201
$url = sprintf('%s?%s', $this->getEndpoint(), http_build_query($queryParams));

0 commit comments

Comments
 (0)