红包详情
This commit is contained in:
@@ -33,6 +33,7 @@ class Redpacket extends BaseCom
|
|||||||
public function grab()
|
public function grab()
|
||||||
{
|
{
|
||||||
$redpacketId = $this->request->post('redpacket_id');
|
$redpacketId = $this->request->post('redpacket_id');
|
||||||
|
$redpacketId = input('redpacket_id', 0);
|
||||||
|
|
||||||
if (empty($redpacketId)) {
|
if (empty($redpacketId)) {
|
||||||
return V(0, '红包ID不能为空');
|
return V(0, '红包ID不能为空');
|
||||||
|
|||||||
Reference in New Issue
Block a user