From 195f6f9fad58e17b4a429ed0fff5620c14a6a329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Wed, 15 Oct 2025 17:41:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=A2=E5=8C=85=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Redpacket.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/api/controller/Redpacket.php b/application/api/controller/Redpacket.php index 5df6159..e821a75 100644 --- a/application/api/controller/Redpacket.php +++ b/application/api/controller/Redpacket.php @@ -33,6 +33,7 @@ class Redpacket extends BaseCom public function grab() { $redpacketId = $this->request->post('redpacket_id'); + $redpacketId = input('redpacket_id', 0); if (empty($redpacketId)) { return V(0, '红包ID不能为空');