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

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

@@ -963,7 +963,7 @@ class Pay extends Api
             @file_put_contents("usdt.txt",json_encode($info).   "-trx转账记录\r\n", 8);
             foreach ($info['data'] as $k2 => $v2){
                 $transaction_id = $v2['transaction_id'];
-                $value =bcdiv($v2['value'], 1000000, 0);
+                $value =bcdiv($v2['value'], 1000000, 18);
                 $be = DB::name('user_recharge')->where('hash', $transaction_id)->find();
                 if ($be) {  //hash重复
                     continue;