|
|
@ -22,6 +22,7 @@ abstract class AbstractApi
|
|
|
|
|
|
|
|
|
|
|
|
public static function request($uri, $params, $sign) {
|
|
|
|
public static function request($uri, $params, $sign) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
|
|
|
|
Log::info('baseUrl:' . self::getConfig('baseUrl'), [], 'efps');
|
|
|
|
Log::info('url:' . $uri, [], 'efps');
|
|
|
|
Log::info('url:' . $uri, [], 'efps');
|
|
|
|
Log::info('headers:', self::getXEfpsHeaders($sign), 'efps');
|
|
|
|
Log::info('headers:', self::getXEfpsHeaders($sign), 'efps');
|
|
|
|
$response = self::getClient()->post($uri, [
|
|
|
|
$response = self::getClient()->post($uri, [
|
|
|
|