@@ -244,7 +244,7 @@ |
||
| 244 | 244 | |
| 245 | 245 | $name = ucfirst(str_replace(['-', '_', ''], '', $name)); |
| 246 | 246 | |
| 247 | - return __NAMESPACE__."\\Gateways\\{$name}Gateway"; |
|
| 247 | + return __NAMESPACE__."\\Gateways\\{$name}gateway"; |
|
| 248 | 248 | } |
| 249 | 249 | |
| 250 | 250 | /** |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | const ENDPOINT_FORMAT = 'json'; |
| 36 | 36 | |
| 37 | - const ENDPOINT_REGION = '86'; // 中国区,目前只支持此国别 |
|
| 37 | + const ENDPOINT_REGION = '86'; // 中国区,目前只支持此国别 |
|
| 38 | 38 | |
| 39 | 39 | const SUCCESS_CODE = 200; |
| 40 | 40 | |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | |
| 71 | 71 | $params['sig'] = $this->generateSign($params, $random); |
| 72 | 72 | |
| 73 | - $url = self::ENDPOINT_URL . self::ENDPOINT_METHOD . '?sdkappid=' . $config->get('sdk_app_id') . '&random=' . $random; |
|
| 73 | + $url = self::ENDPOINT_URL.self::ENDPOINT_METHOD.'?sdkappid='.$config->get('sdk_app_id').'&random='.$random; |
|
| 74 | 74 | |
| 75 | 75 | $result = $this->request('post', $url, [ |
| 76 | 76 | 'headers' => ['Accept' => 'application/json'], |