wesmiler 2 years ago
parent
commit
05a7908c2f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/Services/WalletService.php

+ 3 - 3
app/Services/WalletService.php

@@ -33,8 +33,8 @@ use Tron\TRX;
 class WalletService extends BaseService
 {
     protected $apiUrl = '';
-//    protected $bianUrl = 'https://p2p-xl.com/bapi/c2c/v2/public/c2c/adv/quoted-price';
-    protected $bianUrl = 'https://p2p.binance.com/bapi/c2c/v2/public/c2c/adv/quoted-price';
+    protected $bianUrl = 'https://p2p-xl.mp.dongerkj.com/bapi/c2c/v2/public/c2c/adv/quoted-price';
+//    protected $bianUrl = 'https://p2p.binance.com/bapi/c2c/v2/public/c2c/adv/quoted-price';
     protected $config = [];
     // 静态对象
     protected static $instance = null;
@@ -802,7 +802,7 @@ class WalletService extends BaseService
      * USDT 币安汇率
      * @return string
      */
-    public function getBianRatePrice($refresh = false)
+    public function getBianRatePrice($refresh = true)
     {
         // 币安买价
         $cacheKey ="caches:wallets:usdt_rate";