Kaynağa Gözat

Weenier 168otc项目部署 0630

wesmiler 3 yıl önce
ebeveyn
işleme
421c5a5840
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      app/Services/UsdtWalletService.php

+ 2 - 2
app/Services/UsdtWalletService.php

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