红包超时退回

This commit is contained in:
2025-10-13 18:52:42 +08:00
parent 43f9a619b4
commit c82bf56b88

View File

@@ -245,7 +245,7 @@ class PerformPerSecond
// 查找已结束但未退款的红包
$expiredRedpackets = Db::name('redpacket')
->where('status', Redpacket::STATUS_ACTIVE)
// ->where('status', Redpacket::STATUS_ACTIVE)
->where('end_time', '<', $now)
->where('left_count', '>', 0)
->select();