wesmiler 2 vuotta sitten
vanhempi
commit
fe9cebb9c2
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/Services/Api/AcceptorService.php

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

@@ -109,7 +109,7 @@ class AcceptorService extends BaseService
             $xdPrice = ConfigService::make()->getConfigByCode('xd_price', 100);
             $xdPrice = ConfigService::make()->getConfigByCode('xd_price', 100);
             $currency = isset($params['currency']) && $params['currency']? strtoupper($params['currency']) : 'CNY';
             $currency = isset($params['currency']) && $params['currency']? strtoupper($params['currency']) : 'CNY';
             $tradeType = isset($params['trade_type']) && $params['trade_type']? intval($params['trade_type']) : 1;
             $tradeType = isset($params['trade_type']) && $params['trade_type']? intval($params['trade_type']) : 1;
-            $cnyPrice = $this->getRealPrice($xdPrice,$currency, $tradeType);
+            $cnyPrice = $this->getRealPrice(1,$currency, $tradeType);
 
 
             foreach ($datas['data'] as &$item) {
             foreach ($datas['data'] as &$item) {
                 $item['avatar'] = $item['avatar'] ? get_image_url($item['avatar']) : '';
                 $item['avatar'] = $item['avatar'] ? get_image_url($item['avatar']) : '';