fix update price from talair
This commit is contained in:
parent
ae09f22106
commit
5e5a650016
|
|
@ -93,7 +93,7 @@ class GetGoldPriceForPwa extends Command
|
|||
];
|
||||
// dd($filtered); // اینجا را میتوانید حذف کنید پس از بررسی
|
||||
$this->info('done');
|
||||
return true;
|
||||
// return true;
|
||||
// بهروزرسانی مقدار در پایگاه داده
|
||||
ConfigStatic::where('key','gold_price_pwa')->update(['val' => $filtered]);
|
||||
ConfigStatic::where('key', 'gold_price')->update(['val' => json_encode($filtered)]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue