From 6bf05fd52d6d2785f048e471b85858960acce973 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:42:57 +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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/api/controller/Redpacket.php b/application/api/controller/Redpacket.php index e821a75..ba6f87e 100644 --- a/application/api/controller/Redpacket.php +++ b/application/api/controller/Redpacket.php @@ -74,6 +74,8 @@ class Redpacket extends BaseCom public function detail() { $redpacketId = $this->request->post('redpacket_id'); + $redpacketId = $this->request->post('redpacket_id'); + $redpacketId = input('redpacket_id', 0); if (empty($redpacketId)) { return V(0, '红包ID不能为空');