lip 2 дней назад
Родитель
Сommit
04ba9b61c6
1 измененных файлов с 2 добавлено и 0 удалено
  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) {
                 $res = WalletService::getRechargeImageAddress($member_id);
+                $address = $res['address'];
                 $qrCode = $res['full_path'];
             } else {
                 //手动充值
@@ -131,6 +132,7 @@ class Wallet extends BaseController
             
             return $this->success([
                 'qrcode' => $qrCode,
+                'address' => $address,
                 // 'photo' => InputFile::create($qrCode),
             ]);
         } catch (ValidationException $e) {