|
@@ -300,8 +300,9 @@ class Order extends Controller
|
|
|
'refund_fee' => $money*100,
|
|
|
'refund_desc' => '退款',
|
|
|
];
|
|
|
- Pay::wechat($config)->refund($order); // 返回 `Yansongda\Supports\Collection` 实例,可以通过 `$result->xxx` 访问服务器返回的数据。
|
|
|
- return true;
|
|
|
+ $result = Pay::wechat($config)->refund($order); // 返回 `Yansongda\Supports\Collection` 实例,可以通过 `$result->xxx` 访问服务器返回的数据。
|
|
|
+ dump($result);
|
|
|
+ return true;
|
|
|
}
|
|
|
catch(GatewayException $e){
|
|
|
return false;
|