@@ -46,7 +46,7 @@ |
||
46 | 46 | $response = $this->requestRaw('pay/downloadfundflow', $params, 'post', $options); |
47 | 47 | |
48 | 48 | $Contents = $response->getBody() |
49 | - ->getContents(); |
|
49 | + ->getContents(); |
|
50 | 50 | if (0 === strpos($res, '<xml>')) { |
51 | 51 | return $this->castResponseToType($response, $this->app['config']->get('response_type')); |
52 | 52 | } |
@@ -29,14 +29,14 @@ |
||
29 | 29 | public function get(string $date, string $type = 'Basic', $options = []) |
30 | 30 | { |
31 | 31 | |
32 | - $params = [ |
|
32 | + $params = [ |
|
33 | 33 | 'appid' => $this->app['config']->app_id, |
34 | 34 | 'bill_date' => $date, |
35 | 35 | 'account_type' => $type, |
36 | 36 | 'sign_type' => 'HMAC-SHA256', |
37 | 37 | 'nonce_str' => uniqid('micro'), |
38 | 38 | ]; |
39 | - $options = array_merge( |
|
39 | + $options = array_merge( |
|
40 | 40 | [ |
41 | 41 | 'cert' => $this->app['config']->get('cert_path'), |
42 | 42 | 'ssl_key' => $this->app['config']->get('key_path'), |