seven пре 1 месец
родитељ
комит
37a240bd75
1 измењених фајлова са 8 додато и 7 уклоњено
  1. 8 7
      app/Services/QianBaoWithdrawService.php

+ 8 - 7
app/Services/QianBaoWithdrawService.php

@@ -267,13 +267,14 @@ class QianBaoWithdrawService
         if (!$amount) return WalletService::getBalance($chatId);
 
         $bank = Bank::where('id', $id)->first();
-        PaymentOrderService::createPayout($chatId, $amount, $bank->channel, $bank->bank_name, $bank->account, $bank->card_no);
-        $text = "提交成功\n";
-        $text .= "结果将在稍后通知您,请留意通知!!!";
-        return [
-            'chat_id' => $chatId,
-            'text' => $text,
-        ];
+        $result = PaymentOrderService::createPayout($chatId, $amount, $bank->channel, $bank->bank_name, $bank->account, $bank->card_no);
+        return $result;
+        // $text = "提交成功\n";
+        // $text .= "结果将在稍后通知您,请留意通知!!!";
+        // return [
+        //     'chat_id' => $chatId,
+        //     'text' => $text,
+        // ];
     }
 
     //银行卡管理