diff --git a/application/common/service/RedpacketService.php b/application/common/service/RedpacketService.php index 68ac240..1f3f6a6 100644 --- a/application/common/service/RedpacketService.php +++ b/application/common/service/RedpacketService.php @@ -298,22 +298,22 @@ class RedpacketService } } - if ($redpacket['status'] == Redpacket::STATUS_FINISHED || - $redpacket['status'] == Redpacket::STATUS_REFUNDED) { - return [ - 'code' => 0, - 'msg' => '红包已结束', - 'data' => null - ]; - } - - if ($now > $redpacket['end_time']) { - return [ - 'code' => 0, - 'msg' => '红包已结束', - 'data' => null - ]; - } +// if ($redpacket['status'] == Redpacket::STATUS_FINISHED || +// $redpacket['status'] == Redpacket::STATUS_REFUNDED) { +// return [ +// 'code' => 0, +// 'msg' => '红包已结束', +// 'data' => null +// ]; +// } +// +// if ($now > $redpacket['end_time']) { +// return [ +// 'code' => 0, +// 'msg' => '红包已结束', +// 'data' => null +// ]; +// } return ['code' => 1]; }