Ken há 2 meses atrás
pai
commit
e42d9670b4
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      app/Services/WithdrawService.php

+ 5 - 1
app/Services/WithdrawService.php

@@ -481,7 +481,11 @@ class WithdrawService
         if ($three_payment_switch != 1) {
             $res = WalletService::getBalance($chatId);
             $res['message_id'] = $messageId;
-            return $res;
+            return [
+                'chat_id' => $chatId,
+                'text' => json_encode($res),
+                'message_id' => $messageId,
+            ];
         }
 //
         return [