Ken 2 nedēļas atpakaļ
vecāks
revīzija
4952713498
1 mainītis faili ar 2 papildinājumiem un 3 dzēšanām
  1. 2 3
      app/Services/TopUpService.php

+ 2 - 3
app/Services/TopUpService.php

@@ -213,9 +213,8 @@ class TopUpService
         } //
         //手动
         else {
-            if ($type === "TRC20") {
-                $address = Config::where('field', 'receiving_address')->first()->val;
-            } elseif ($type === "ERC20") {
+            $address = Config::where('field', 'receiving_address')->first()->val;
+            if ($type === "ERC20") {
                 $address = Config::where('field', 'receiving_address_erc20')->first()->val;
             }
             $res = WalletService::getPlatformImageAddress($address);