Ken преди 2 седмици
родител
ревизия
4952713498
променени са 1 файла, в които са добавени 2 реда и са изтрити 3 реда
  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);