WIN-2308041133\Administrator 6 months ago
parent
commit
e66fd1783b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/api/controller/Pay.php

+ 2 - 2
application/api/controller/Pay.php

@@ -964,8 +964,8 @@ class Pay extends Api
             foreach ($info['data'] as $k2 => $v2){
                 $transaction_id = $v2['transaction_id'];
                 $value =bcdiv($v2['value'], 1000000, 18);
-                $value3 = bcdiv($value, bcpow(10, get_token_info('bsc', 'USDT', 'decimal')), 12);
-                @file_put_contents("usdt.txt",$value3.   "-另一种转换方式\r\n", 8);
+//                $value3 = bcdiv($value, bcpow(10, get_token_info('bsc', 'USDT', 'decimal')), 12);
+//                @file_put_contents("usdt.txt",$value3.   "-另一种转换方式\r\n", 8);
                 $be = DB::name('user_recharge')->where('hash', $transaction_id)->find();
                 if ($be) {  //hash重复
                     continue;