|
@@ -508,7 +508,7 @@ class QianBaoWithdrawService
|
|
|
Cache::put(get_step_key($chatId), StepStatus::QB_INPUT_BANK_NAME);
|
|
Cache::put(get_step_key($chatId), StepStatus::QB_INPUT_BANK_NAME);
|
|
|
return [
|
|
return [
|
|
|
'chat_id' => $chatId,
|
|
'chat_id' => $chatId,
|
|
|
- 'text' => "请输入银行名称",
|
|
|
|
|
|
|
+ 'text' => "请输入开户银行卡开户名称",
|
|
|
'message_id' => $messageId,
|
|
'message_id' => $messageId,
|
|
|
];
|
|
];
|
|
|
break;
|
|
break;
|
|
@@ -576,9 +576,22 @@ class QianBaoWithdrawService
|
|
|
Cache::put("{$chatId}_QB_ACCOUNT", $account);
|
|
Cache::put("{$chatId}_QB_ACCOUNT", $account);
|
|
|
Cache::put(get_step_key($chatId), StepStatus::QB_INPUT_ALIAS);
|
|
Cache::put(get_step_key($chatId), StepStatus::QB_INPUT_ALIAS);
|
|
|
|
|
|
|
|
|
|
+ $channel = Cache::get("{$chatId}_QB_WITHDRAW_CHANNEL");
|
|
|
|
|
+ switch ($channel) {
|
|
|
|
|
+ case "DF001":
|
|
|
|
|
+ $text = "请输入账号别名";
|
|
|
|
|
+ break;
|
|
|
|
|
+ case "DF002":
|
|
|
|
|
+ $text = "请输入别名";
|
|
|
|
|
+ break;
|
|
|
|
|
+ case "DF005":
|
|
|
|
|
+ $text = "请输入账号别名";
|
|
|
|
|
+ break;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
return [
|
|
return [
|
|
|
'chat_id' => $chatId,
|
|
'chat_id' => $chatId,
|
|
|
- 'text' => "请输入账号别名",
|
|
|
|
|
|
|
+ 'text' => $text,
|
|
|
'message_id' => $messageId,
|
|
'message_id' => $messageId,
|
|
|
];
|
|
];
|
|
|
|
|
|