Ken 2 dias atrás
pai
commit
83443891cb
1 arquivos alterados com 8 adições e 7 exclusões
  1. 8 7
      app/Services/QianBaoWithdrawService.php

+ 8 - 7
app/Services/QianBaoWithdrawService.php

@@ -503,23 +503,24 @@ class QianBaoWithdrawService
         Cache::put("{$chatId}_QB_WITHDRAW_CHANNEL", $channel);
 
         switch ($channel) {
-            case "DF002"://支付宝
-                Cache::put("{$chatId}_QB_WITHDRAW_BANK_NAME", '支付宝');
-                Cache::put(get_step_key($chatId), StepStatus::QB_INPUT_CARD_NO);
+            case "DF001"://银行卡
+                Cache::put(get_step_key($chatId), StepStatus::QB_INPUT_BANK_NAME);
                 return [
                     'chat_id' => $chatId,
-                    'text' => "请输入支付宝账号",
+                    'text' => "请输入银行名称",
                     'message_id' => $messageId,
                 ];
                 break;
-            case "DF001"://银行卡
-                Cache::put(get_step_key($chatId), StepStatus::QB_INPUT_BANK_NAME);
+            case "DF002"://支付宝
+                Cache::put("{$chatId}_QB_WITHDRAW_BANK_NAME", '支付宝');
+                Cache::put(get_step_key($chatId), StepStatus::QB_INPUT_CARD_NO);
                 return [
                     'chat_id' => $chatId,
-                    'text' => "请输入银行名称",
+                    'text' => "请输入支付宝账号",
                     'message_id' => $messageId,
                 ];
                 break;
+
             default:
                 return [
                     'chat_id' => $chatId,