Browse Source

当面付

gorden 7 months ago
parent
commit
d0e094bc56
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/admin/service/order/OrderService.php

+ 2 - 2
app/admin/service/order/OrderService.php

@@ -149,7 +149,7 @@ class OrderService
                 throw new BusinessException("支付失败");
             }
 
-            Log::info("WXPAY_RETURN",$result);
+            Log::info("WXPAY_RETURN",json_decode(json_encode($result),true));
 
         }else if(in_array($prefix,[25,26,27,28,29,30])){
             $payData = [
@@ -165,7 +165,7 @@ class OrderService
                 throw new BusinessException("支付失败");
             }
             
-            Log::info("ALIPAY_RETURN",$result);
+            Log::info("ALIPAY_RETURN",json_decode(json_encode($result),true));
 
         }else{
             throw new BusinessException("二维码无效");