|
@@ -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);
|
|
|
|