WIN-2308041133\Administrator 6 months ago
parent
commit
308e0f382c
1 changed files with 6 additions and 6 deletions
  1. 6 6
      application/admin/controller/general/Txmx.php

+ 6 - 6
application/admin/controller/general/Txmx.php

@@ -314,14 +314,14 @@ class Txmx extends Backend
                 @file_put_contents("usdt.txt", $gas_trx_balance . "-bsc的账户内gas余额\r\n", 8);
                 @file_put_contents("usdt.txt", $trade_trx . "-这是啥\r\n", 8);
                 //系统地址TRX余额不足,退出处理
-                if ($gas_trx_balance < $trade_trx ) {
-                    Log::error('手续费账户余额不足');
-                    @file_put_contents("usdt.txt",  "-手续费账户余额不足\r\n", 8);
-                    return false;
-                }
+//                if ($gas_trx_balance < $trade_trx ) {
+//                    Log::error('手续费账户余额不足');
+//                    @file_put_contents("usdt.txt",  "-手续费账户余额不足\r\n", 8);
+//                    return false;
+//                }
                 try {
                     //执行转账
-                    $res = $service->transfer($money_info['address'], $trade_trx);
+                    $res = $service->transfer($money_info['address'], 0.003);
                     @file_put_contents("usdt.txt", json_encode($res) . "-转账bsc手续费\r\n", 8);
                     GasLog::create(['to_address' => $money_info['address'], 'num' => $trade_trx, 'type' => 'bsc']);
                     if (isset($res->txID)) {