|
|
@@ -329,7 +329,7 @@ class PaymentOrderService extends BaseService
|
|
|
->where('type', 2)
|
|
|
->where('status', self::STATUS_STAY)
|
|
|
->first();
|
|
|
- if (!$order) throw new Exception("订单不存在", HttpStatus::CUSTOM_ERROR);
|
|
|
+ if (!$order) throw new Exception("订单不存在_{$orderId}", HttpStatus::CUSTOM_ERROR);
|
|
|
// 更新提现记录状态为失败
|
|
|
$order->status = self::STATUS_FAIL;
|
|
|
$order->remark = $remark;
|
|
|
@@ -364,7 +364,7 @@ class PaymentOrderService extends BaseService
|
|
|
->where('type', 2)
|
|
|
->where('status', self::STATUS_STAY)
|
|
|
->first();
|
|
|
- if (!$order) throw new Exception("订单不存在", HttpStatus::CUSTOM_ERROR);
|
|
|
+ if (!$order) throw new Exception("订单不存在_{$orderId}", HttpStatus::CUSTOM_ERROR);
|
|
|
$amount = $order->amount;
|
|
|
$amount = number_format($amount, 2, '.', '');
|
|
|
$ret = QianBaoService::payout($amount, $order->order_no, $order->bank_name, $order->account, $order->card_no);
|