|
|
@@ -214,7 +214,7 @@ class UsdtWalletService extends BaseService
|
|
|
$amount = moneyFormat($amount/1000000, 6);
|
|
|
$time = isset($v['block_timestamp'])? intval($v['block_timestamp']) : 0;
|
|
|
$txid = isset($v['transaction_id'])? $v['transaction_id'] : '';
|
|
|
- if(!CoinLogService::make()->checkExists('txid', $txid)){
|
|
|
+ if(!CoinLogService::make()->checkExists('txid', $txid) && $time> time() - 6*3600){
|
|
|
$balance = $this->memberModel->where(['id'=> $userId])->value('usdt_num');
|
|
|
$log = [
|
|
|
'user_id'=> $userId,
|
|
|
@@ -275,7 +275,7 @@ class UsdtWalletService extends BaseService
|
|
|
$amount = moneyFormat($amount/1000000, 6);
|
|
|
$time = isset($v['block_timestamp'])? intval($v['block_timestamp']) : 0;
|
|
|
$txid = isset($v['transaction_id'])? $v['transaction_id'] : '';
|
|
|
- if(!CoinLogService::make()->checkExists('txid', $txid)){
|
|
|
+ if(!CoinLogService::make()->checkExists('txid', $txid) && $time> time() - 6*3600){
|
|
|
$balance = $this->memberModel->where(['id'=> $userId])->value('usdt_num');
|
|
|
$log = [
|
|
|
'user_id'=> $userId,
|