This commit is contained in:
yansongda 2019-09-01 22:11:50 +08:00
parent 8248a60fa0
commit d4cb3fafe5

View File

@ -414,6 +414,8 @@ class Alipay implements GatewayApplicationInterface
*/
protected function makeExtend(string $method, array $params): Collection
{
$params = count($params) >= 1 ? $params[0] : $params;
$function = $this->extends[$method];
$customize = $function($this->payload, $params);