From 5ba6a166aeb6fe92d04a75f13181b68772de711e Mon Sep 17 00:00:00 2001 From: vine_liutk <961510893@qq.com> Date: Tue, 28 Dec 2021 10:02:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=BC=8F=E5=8F=91=E7=9A=84?= =?UTF-8?q?=E5=94=AE=E5=90=8E=E5=90=8E=E5=8F=B0=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Admin/Forms/AfterSaleVerify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); }