Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yansongda committed Sep 1, 2019
1 parent 8248a60 commit d4cb3fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Gateways/Alipay.php
Expand Up @@ -414,6 +414,8 @@ protected function makePay(string $gateway)
*/
protected function makeExtend(string $method, array $params): Collection
{
$params = count($params) >= 1 ? $params[0] : $params;

$function = $this->extends[$method];

$customize = $function($this->payload, $params);
Expand Down

0 comments on commit d4cb3fa

Please sign in to comment.