|
|
@ -192,7 +192,6 @@ class OrderService implements OrderServiceInterface |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
$totalAmount = $orderMain->total_money; // 订单可退款金额,总订单金额不含配送费和服务费
|
|
|
$totalAmount = $orderMain->total_money; // 订单可退款金额,总订单金额不含配送费和服务费
|
|
|
$preRefundAmount = 0; // 预退款金额
|
|
|
$preRefundAmount = 0; // 预退款金额
|
|
|
$refundAmount = 0; // 实际退款金额
|
|
|
$refundAmount = 0; // 实际退款金额
|
|
|
@ -222,7 +221,6 @@ class OrderService implements OrderServiceInterface |
|
|
]); |
|
|
]); |
|
|
throw new ErrorCodeException(ErrorCode::ORDER_REFUND_FAIL); |
|
|
throw new ErrorCodeException(ErrorCode::ORDER_REFUND_FAIL); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 开始退款
|
|
|
// 开始退款
|
|
|
$config = config('wxpay'); |
|
|
$config = config('wxpay'); |
|
|
$app = Factory::payment($config); |
|
|
$app = Factory::payment($config); |
|
|
|