...
|
...
|
@@ -11,6 +11,7 @@ use think\Db; |
|
|
use think\Hook;
|
|
|
use think\Lang;
|
|
|
use think\Loader;
|
|
|
use think\Log;
|
|
|
use think\Session;
|
|
|
use fast\Tree;
|
|
|
use think\Validate;
|
...
|
...
|
@@ -540,6 +541,7 @@ class Backend extends Controller |
|
|
$url = url('index/ajax/refund_notify',[],true,true);
|
|
|
$result = $payment->refund($orderNo, $refundNo,$url, floatval($order['price'])*100); // 总金额 100, 退款 80,refundFee可选(为空时全额退款)
|
|
|
// $result = $payment->refund($orderNo, $refundNo,$url, 1); // 总金额 100, 退款 80,refundFee可选(为空时全额退款)
|
|
|
Log::write(date('Y-m-d H:i') . '订单退款操作,返回数据:'.$url, 'notice');
|
|
|
return $result;
|
|
|
}
|
|
|
} |
...
|
...
|
|