wesmiler 2 lat temu
rodzic
commit
29898cef02

+ 9 - 9
app/Http/Controllers/Api/v1/IndexController.php

@@ -138,15 +138,15 @@ class IndexController extends webApp
     public function country()
     public function country()
     {
     {
         $data = [
         $data = [
-            ['code'=>'CNY','name'=>'人民币','country'=>'中国','locale'=>'zh-cn','status'=>1],
-            ['code'=>'MYR','name'=>'林吉特','country'=>'马来西亚','locale'=>'mal','status'=>1],
-            ['code'=>'VND','name'=>'越南盾','country'=>'越南','locale'=>'vie','status'=>1],
-            ['code'=>'THB','name'=>'泰铢','country'=>'泰国','locale'=>'tha','status'=>1],
-            ['code'=>'IDR','name'=>'卢比','country'=>'印度尼西亚','locale'=>'ind','status'=>1],
-            ['code'=>'JAY','name'=>'日元','country'=>'日本','locale'=>'jap','status'=>1],
-            ['code'=>'KRW','name'=>'韩元','country'=>'韩国','locale'=>'sk','status'=>1],
-            ['code'=>'EUR','name'=>'欧元','country'=>'法国','locale'=>'fr','status'=>1],
-            ['code'=>'USD','name'=>'美元','country'=>'美国','locale'=>'en','status'=>1],
+            ['code'=>'CNY','name'=>'人民币','country'=>'中国','locale'=>'zh-cn','mark'=>'¥','status'=>1],
+            ['code'=>'MYR','name'=>'林吉特','country'=>'马来西亚','locale'=>'mal','mark'=>'RM','status'=>1],
+            ['code'=>'VND','name'=>'越南盾','country'=>'越南','locale'=>'vie','mark'=>'₫','status'=>1],
+            ['code'=>'THB','name'=>'泰铢','country'=>'泰国','locale'=>'tha','mark'=>'฿','status'=>1],
+            ['code'=>'IDR','name'=>'卢比','country'=>'印度尼西亚','locale'=>'ind','mark'=>'R','status'=>1],
+            ['code'=>'JAY','name'=>'日元','country'=>'日本','locale'=>'jap','mark'=>'¥','status'=>1],
+            ['code'=>'KRW','name'=>'韩元','country'=>'韩国','locale'=>'sk','mark'=>'₩','status'=>1],
+            ['code'=>'EUR','name'=>'欧元','country'=>'法国','locale'=>'fr','mark'=>'€','status'=>1],
+            ['code'=>'USD','name'=>'美元','country'=>'美国','locale'=>'en','mark'=>'$','status'=>1],
         ];
         ];
         return showJson(1010, true, $data);
         return showJson(1010, true, $data);
     }
     }

+ 1 - 0
app/Services/Api/AcceptorService.php

@@ -116,6 +116,7 @@ class AcceptorService extends BaseService
                 $item['currency_quota'] = $this->getRealPrice(floatval($item['quota']), $currency, 3);
                 $item['currency_quota'] = $this->getRealPrice(floatval($item['quota']), $currency, 3);
                 $item['usdt_price'] = moneyFormat(1 / $xdPrice, 2);
                 $item['usdt_price'] = moneyFormat(1 / $xdPrice, 2);
                 $item['price'] = $cnyPrice;
                 $item['price'] = $cnyPrice;
+                $item['time'] = $item['time']>60? intval($item['time']/60) : 20;
             }
             }
             unset($item);
             unset($item);
             RedisService::set($cacheKey, $datas, rand(3, 5));
             RedisService::set($cacheKey, $datas, rand(3, 5));