fix: dateformat
All checks were successful
Laravel-Oracle-Deploy / redeploy (push) Successful in 6s

This commit is contained in:
2026-06-27 00:57:40 +08:00
parent 7f8b17cbc5
commit 436047c1e8

View File

@@ -124,7 +124,7 @@ class UpdateAssetPriceJob implements ShouldQueue
SecurityPriceHistories::updateOrCreate( SecurityPriceHistories::updateOrCreate(
[ [
'security_id' => $security->id, 'security_id' => $security->id,
'price_date' => now()->format('Y-m-d'), // 記錄今天的日期 'price_date' => $latestPriceDate, // 記錄今天的日期
], ],
[ [
'price' => $latestPrice, 'price' => $latestPrice,