|
@@ -279,8 +279,8 @@ class OrderService
|
|
|
public static function findWxpay($orderId, $nbr = 0)
|
|
|
{
|
|
|
try {
|
|
|
-// $result = Pay::wechat(config('payment.wxpay'))->find($orderId, 'pos');
|
|
|
-// $result = json_decode(json_encode($result), true);
|
|
|
+ $result = Pay::wechat(config('payment.wxpay'))->find($orderId, 'pos');
|
|
|
+ $result = json_decode(json_encode($result), true);
|
|
|
} catch (\Exception $e) {
|
|
|
SupportLog::channel('pay')->error("FIND_WXPAY", ['msg' => $e->getMessage()]);
|
|
|
}
|
|
@@ -312,8 +312,8 @@ class OrderService
|
|
|
public static function findAlipay($orderId, $nbr = 0)
|
|
|
{
|
|
|
try {
|
|
|
-// $result = Pay::alipay(config('payment.alipay'))->find($orderId);
|
|
|
-// $result = json_decode(json_encode($result), true);
|
|
|
+ $result = Pay::alipay(config('payment.alipay'))->find($orderId);
|
|
|
+ $result = json_decode(json_encode($result), true);
|
|
|
} catch (\Exception $e) {
|
|
|
SupportLog::channel('pay')->error("FIND_ALIPAY", ['msg' => $e->getMessage()]);
|
|
|
}
|