diff --git a/app/Admin/Forms/AfterSaleVerify.php b/app/Admin/Forms/AfterSaleVerify.php index 7730724f..6f628b1b 100644 --- a/app/Admin/Forms/AfterSaleVerify.php +++ b/app/Admin/Forms/AfterSaleVerify.php @@ -46,7 +46,7 @@ class AfterSaleVerify extends Form implements LazyRenderable if ($amount > $afterSale->orderProduct->total_amount) { throw new BizException('退款金额不能大于商品实付金额'); } - $afterSaleService->verify($afterSale, $input['remarks3'], (int) $input['amount']); + $afterSaleService->verify($afterSale, $input['remarks3'], (int) Arr::get($input, 'amount', 0)); } elseif ($input['state'] == 1) {//需要补充资料 $afterSaleService->backApply($afterSale, $input['remarks1']); }