瀏覽代碼

当面付

gorden 7 月之前
父節點
當前提交
d0e094bc56
共有 1 個文件被更改,包括 2 次插入2 次删除
  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("二维码无效");