Ken 2 dias atrás
pai
commit
9abee3a90f
1 arquivos alterados com 15 adições e 2 exclusões
  1. 15 2
      app/Services/QianBaoWithdrawService.php

+ 15 - 2
app/Services/QianBaoWithdrawService.php

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