|
|
@@ -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,
|
|
|
+ // ];
|
|
|
}
|
|
|
|
|
|
//银行卡管理
|