mirror of
https://gitee.com/technical-laohu/mpay.git
synced 2025-10-20 09:23:42 +08:00
收款通知性能优化
This commit is contained in:
@@ -176,7 +176,7 @@ class Order extends BaseModel
|
||||
// 查询有效期内的成交订单
|
||||
public function scopeDealOrder($query)
|
||||
{
|
||||
$query->where('close_time', '>', self::getFormatTime())->where('state', 1);
|
||||
$query->where('close_time', '>', self::getFormatTime(time() - self::$activity_time))->where('state', 1);
|
||||
}
|
||||
// 查询超时过期订单
|
||||
public function scopeTimeoutOrder($query)
|
||||
|
Reference in New Issue
Block a user