Ken преди 1 седмица
родител
ревизия
2314035cfd
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Services/QianBaoWithdrawService.php

+ 1 - 1
app/Services/QianBaoWithdrawService.php

@@ -102,7 +102,7 @@ class QianBaoWithdrawService
     static function chooseBank($chatId, $firstName, $messageId, $id)
     {
         $amount = Cache::get("{$chatId}_WITHDRAW_QB_MONEY", '');
-        if ($amount) return WithdrawService::index($chatId, $firstName, $messageId);
+        if ($amount) return WalletService::getBalance($chatId);
 
         $bank = Bank::where('id', $id)->first();