Przeglądaj źródła

修改usdt自动充值

lip 2 dni temu
rodzic
commit
04ba9b61c6
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      app/Http/Controllers/api/Wallet.php

+ 2 - 0
app/Http/Controllers/api/Wallet.php

@@ -121,6 +121,7 @@ class Wallet extends BaseController
             //自动充值
             //自动充值
             if ($receivingType == 1) {
             if ($receivingType == 1) {
                 $res = WalletService::getRechargeImageAddress($member_id);
                 $res = WalletService::getRechargeImageAddress($member_id);
+                $address = $res['address'];
                 $qrCode = $res['full_path'];
                 $qrCode = $res['full_path'];
             } else {
             } else {
                 //手动充值
                 //手动充值
@@ -131,6 +132,7 @@ class Wallet extends BaseController
             
             
             return $this->success([
             return $this->success([
                 'qrcode' => $qrCode,
                 'qrcode' => $qrCode,
+                'address' => $address,
                 // 'photo' => InputFile::create($qrCode),
                 // 'photo' => InputFile::create($qrCode),
             ]);
             ]);
         } catch (ValidationException $e) {
         } catch (ValidationException $e) {