diff --git a/application/api/controller/Redpacket.php b/application/api/controller/Redpacket.php index 51741e4..5df6159 100644 --- a/application/api/controller/Redpacket.php +++ b/application/api/controller/Redpacket.php @@ -72,7 +72,7 @@ class Redpacket extends BaseCom */ public function detail() { - $redpacketId = $this->request->get('redpacket_id'); + $redpacketId = $this->request->post('redpacket_id'); if (empty($redpacketId)) { return V(0, '红包ID不能为空');