mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
torrent list cancel join category
This commit is contained in:
@@ -126,6 +126,7 @@ class ClaimRepository extends BaseRepository
|
||||
$startOfThisMonth = Carbon::now()->startOfMonth();
|
||||
$query = Claim::query()
|
||||
->select(['uid'])
|
||||
->where("created_at", "<", $startOfThisMonth)
|
||||
->where(function (Builder $query) use ($startOfThisMonth) {
|
||||
$query->where('last_settle_at', '<', $startOfThisMonth)->orWhereNull('last_settle_at');
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user