File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ));
You can’t perform that action at this time.
0 commit comments