|
|
@@ -283,24 +283,12 @@ class QianBaoWithdrawService
|
|
|
//2.选择银行卡号
|
|
|
private static function chooseBank($chatId, $id)
|
|
|
{
|
|
|
-// $amount = Cache::get("{$chatId}_WITHDRAW_QB_MONEY", '');
|
|
|
-// if (!$amount) return WalletService::getBalance($chatId);
|
|
|
-
|
|
|
Cache::put(get_step_key($chatId), StepStatus::INPUT_WITHDRAW_QB_MONEY);
|
|
|
Cache::put("{$chatId}_QB_BANK_ID", $id);
|
|
|
return [
|
|
|
'chat_id' => $chatId,
|
|
|
'text' => "请输入提现的金额",
|
|
|
];
|
|
|
-
|
|
|
-// $bank = Bank::where('id', $id)->first();
|
|
|
-
|
|
|
-
|
|
|
-// $result = PaymentOrderService::createPayout($chatId, $amount, $bank->channel, $bank->bank_name, $bank->account, $bank->card_no);
|
|
|
-// return $result;
|
|
|
- // $text = "提交成功\n";
|
|
|
- // $text .= "结果将在稍后通知您,请留意通知!!!";
|
|
|
-
|
|
|
}
|
|
|
|
|
|
|