From ba835772b29d4115d750b86141f16b7f3e751a36 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:07:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=A2=E5=8C=85=E7=8A=B6=E6=80=81=E6=A3=80?= =?UTF-8?q?=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/service/RedpacketService.php | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) 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]; }