红包超时退回
This commit is contained in:
@@ -245,7 +245,7 @@ class PerformPerSecond
|
|||||||
|
|
||||||
// 查找已结束但未退款的红包
|
// 查找已结束但未退款的红包
|
||||||
$expiredRedpackets = Db::name('redpacket')
|
$expiredRedpackets = Db::name('redpacket')
|
||||||
->where('status', Redpacket::STATUS_ACTIVE)
|
// ->where('status', Redpacket::STATUS_ACTIVE)
|
||||||
->where('end_time', '<', $now)
|
->where('end_time', '<', $now)
|
||||||
->where('left_count', '>', 0)
|
->where('left_count', '>', 0)
|
||||||
->select();
|
->select();
|
||||||
|
|||||||
Reference in New Issue
Block a user