diff --git a/app/Service/Api/Order/RefundOrderService.php b/app/Service/Api/Order/RefundOrderService.php index 305d4ea..9d14348 100644 --- a/app/Service/Api/Order/RefundOrderService.php +++ b/app/Service/Api/Order/RefundOrderService.php @@ -45,7 +45,7 @@ class RefundOrderService extends BaseService if ($orderInfo->status != OrderCode::PAYED) throw new ErrException('该订单状态已变更,请勿重复操作,刷新后无法退款请联系客服'); //立即取消 - $this->joinRefundQueue($orderId, $type, $orderInfo->actual_price, '用户主动取消订单'); + $this->joinRefundQueue($orderId, $type, (float)$orderInfo->actual_price, '用户主动取消订单'); return $this->return->success(); }