From 1f4516d0d2ceeeb9a9c77fc109e2864e690e9e90 Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Thu, 15 Jun 2023 21:35:12 +0800 Subject: [PATCH] yh --- app/Service/PaymentService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/PaymentService.php b/app/Service/PaymentService.php index c108f48..fa6aca2 100644 --- a/app/Service/PaymentService.php +++ b/app/Service/PaymentService.php @@ -341,7 +341,7 @@ class PaymentService extends AbstractService throw new BusinessException('用户ID不能为空'); } - if (isset($reqData['amount']) { + if (isset($reqData['amount'])) { if (!is_numeric($reqData['amount'])) { throw new BusinessException('请输入金额'); }