Ken 2 روز پیش
والد
کامیت
036e895ffe
1فایلهای تغییر یافته به همراه5 افزوده شده و 2 حذف شده
  1. 5 2
      app/Services/QianBaoWithdrawService.php

+ 5 - 2
app/Services/QianBaoWithdrawService.php

@@ -343,7 +343,7 @@ class QianBaoWithdrawService
 
         $bankId = Cache::get("{$chatId}_QB_BANK_ID");
         $bank = Bank::where('id', $bankId)->first();
-
+        $text = "";
         switch ($bank->channel) {
             case "DF001":
                 $text = "银行卡提现确认\n";
@@ -355,7 +355,10 @@ class QianBaoWithdrawService
                 $text .= "提现金额:{$amount}\n";
                 break;
             case "DF005":
-
+                $text = "数字人民币提现确认\n";
+                $text .= "姓名:{$bank->account}\n";
+                $text .= "提现账号:{$bank->card_no}\n";
+                $text .= "提现金额:{$amount}\n";
                 break;
         }
         $keyboard = [