update: reset traffic

This commit is contained in:
tokumeikoi 2021-11-11 01:25:45 +08:00
parent d0947d1aaa
commit 9d96d68f12

View File

@ -64,12 +64,12 @@ class ResetTraffic extends Command
break;
}
case 0: {
$builder = $this->builder->where('plan_id', $plan->id);
$builder = with(clone($this->builder))->where('plan_id', $plan->id);
$this->resetByMonthFirstDay($builder);
break;
}
case 1: {
$builder = $this->builder->where('plan_id', $plan->id);
$builder = with(clone($this->builder))->where('plan_id', $plan->id);
$this->resetByExpireDay($builder);
break;
}