zhangguidong %!s(int64=2) %!d(string=hai) anos
pai
achega
17d7c531dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      vendor/yansongda/pay/src/Gateways/Alipay/Support.php

+ 1 - 1
vendor/yansongda/pay/src/Gateways/Alipay/Support.php

@@ -407,7 +407,7 @@ class Support
         if (!isset($result['sign']) || '10000' != $result[$method]['code']) {
             throw new GatewayException('Get Alipay API Error:'.$result[$method]['msg'].(isset($result[$method]['sub_code']) ? (' - '.$result[$method]['sub_code']) : ''), $result);
         }
-        return new Collection($result[$method]);
+        return $result;
 
         if (self::verifySign($result[$method], true, $result['sign'])) {