Ken vor 1 Woche
Ursprung
Commit
947ecbfb1e
2 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 1 0
      app/Constants/StepStatus.php
  2. 1 0
      app/Services/WithdrawService.php

+ 1 - 0
app/Constants/StepStatus.php

@@ -28,6 +28,7 @@ class StepStatus
 
 
     const INPUT_WITHDRAW_QB_MONEY = 16;//输入 钱宝提现金额
+    const CHOOSE_WITHDRAW_QB_ADDRESS = 17;//选择 提现卡号
 
 
 }

+ 1 - 0
app/Services/WithdrawService.php

@@ -531,6 +531,7 @@ class WithdrawService
         $text = "请直接选择下面的地址\n";
         $text .= "⚠️提示:请务必确认提现地址正确无误,\n否则资金丢失将无法找回请自负!";
         Cache::put("{$chatId}_WITHDRAW_QB_MONEY", $amount);
+        Cache::put(get_step_key($chatId), StepStatus::CHOOSE_WITHDRAW_QB_ADDRESS);
         return [
             'chat_id' => $chatId,
             'text' => $text,