From 392e68dbc13563604429f20ca7cf187b40fae0c1 Mon Sep 17 00:00:00 2001 From: A1Gard Date: Tue, 29 Oct 2024 13:14:59 +0330 Subject: [PATCH] added gold price 3 --- app/Console/Commands/GoldPriceUpdate.php | 1 + resources/lang/fa.json | 3 +++ 2 files changed, 4 insertions(+) diff --git a/app/Console/Commands/GoldPriceUpdate.php b/app/Console/Commands/GoldPriceUpdate.php index 5d4025e..532e03c 100644 --- a/app/Console/Commands/GoldPriceUpdate.php +++ b/app/Console/Commands/GoldPriceUpdate.php @@ -35,6 +35,7 @@ class GoldPriceUpdate extends Command $client = new Client(); $response = $client->request('GET', $this->api); $data = json_decode($response->getBody()->getContents()); + print_r($data); if (isset($data->gold)) { $s = Setting::where('key', 'gold')->first(); diff --git a/resources/lang/fa.json b/resources/lang/fa.json index eb0abe7..a2021ce 100644 --- a/resources/lang/fa.json +++ b/resources/lang/fa.json @@ -61,6 +61,7 @@ "Added by:": "اضافه شده توسط", "Added items view depends on theme part": "موارد اضافه شده بسته به نوع نمای انتخاب شده متفاوت خواهد بود", "Additional data": "اطلاعات تکمیلی", + "Addon price": "قیمت اقلام اضافه", "Address": "نشانی", "Address added successfully": "نشانی اضافه شد", "Address added to :CUSTOMER": "نشانی به :CUSTOMER اضافه شد", @@ -251,6 +252,7 @@ "Gallery": "گالری", "General": "عمومی", "Gfxes": "طراحی‌ها", + "Gold price": "قیمت طلا", "Good": "خوب", "Graphic": "گرافیک", "Group": "سرفصل", @@ -542,6 +544,7 @@ "View": "تعداد نمایش", "Visitors": "بازدیدکنندگان", "Visits": "بازدید‌ها", + "Wage": "درصد اجرت", "We recommending add title each images": "به شما پیشنهاد می‌کنیم که برای هر تصویر یک عنوان اضافه کنید", "Website attachments list": "فهرست پیوست‌های سایت", "Weight": "وزن",