|
|
@@ -964,6 +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);
|
|
|
$be = DB::name('user_recharge')->where('hash', $transaction_id)->find();
|
|
|
if ($be) { //hash重复
|
|
|
continue;
|