|
|
@@ -25,7 +25,7 @@ class AutoSavePriceListen extends TimerService implements ListenerInterface
|
|
|
public function handle($event): void
|
|
|
{
|
|
|
//TODO 自动清除积分
|
|
|
- $this->tick(1000, function () {
|
|
|
+ $this->tick(1000 * 30, function () {
|
|
|
//如果没有昨天的价格,就保存
|
|
|
$day = date('Y-m-d', strtotime('-1 day'));
|
|
|
$service = app()->make(AwardIntegralPriceRepository::class);
|