|
|
@@ -279,11 +279,6 @@ class HdRefundService extends BaseService
|
|
|
|
|
|
if ($payWay == dict::getDict('payWay', 'debtPay')) {
|
|
|
|
|
|
- $settleId = $order->settleId;
|
|
|
- if (!empty($settleId)) {
|
|
|
- util::fail('订单已结账,无法发起退款');
|
|
|
- }
|
|
|
-
|
|
|
$currentRemain = bcsub($order->remainDebtPrice, $refundPrice, 2);
|
|
|
$order->remainDebtPrice = $currentRemain;
|
|
|
if ($currentRemain <= 0) {
|