diff --git a/application/api/controller/Redpacket.php b/application/api/controller/Redpacket.php index ba6f87e..9bc9074 100644 --- a/application/api/controller/Redpacket.php +++ b/application/api/controller/Redpacket.php @@ -32,7 +32,6 @@ class Redpacket extends BaseCom */ public function grab() { - $redpacketId = $this->request->post('redpacket_id'); $redpacketId = input('redpacket_id', 0); if (empty($redpacketId)) { @@ -73,8 +72,6 @@ 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)) {