gorden 8 months ago
parent
commit
5d08bddf0f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/admin/controller/order/WholeController.php

+ 2 - 0
app/admin/controller/order/WholeController.php

@@ -1223,6 +1223,7 @@ class WholeController extends Curd
                 $res = Pay::wechat(config('payment.wxpay'))->refund($wxRefundData);
                 file_put_contents(runtime_path('logs/wxpay.log'), $res);
                 $resArray = json_decode($res, true);
+                
 
                 throw new PayException('退款失败,原因:未完全接入');
 
@@ -1233,6 +1234,7 @@ class WholeController extends Curd
                     'refund_amount' => $amount,
                 ];
                 $res = Pay::alipay(config('payment.alipay'))->refund($alipayRefundData);
+                dump($res);
                 file_put_contents(runtime_path('logs/alipay.log'), $res);
                 $resArray = json_decode($res, true);