wesmiler 2 лет назад
Родитель
Сommit
fe9cebb9c2
1 измененных файлов с 1 добавлено и 1 удалено
  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);
             $currency = isset($params['currency']) && $params['currency']? strtoupper($params['currency']) : 'CNY';
             $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) {
                 $item['avatar'] = $item['avatar'] ? get_image_url($item['avatar']) : '';