|
|
@@ -79,9 +79,9 @@ class SanJinService extends BaseService
|
|
|
|
|
|
$client = self::getClient();
|
|
|
$response = $client->post('api/pay', [
|
|
|
- 'json' => $data,
|
|
|
+ 'form_params' => $data,
|
|
|
'headers' => [
|
|
|
- 'Content-Type' => 'application/json',
|
|
|
+ 'Content-Type' => 'application/x-www-form-urlencoded',
|
|
|
]
|
|
|
]);
|
|
|
$body = $response->getBody();
|