Ken 1 月之前
父節點
當前提交
7a8087be63
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      app/Services/QianBaoWithdrawService.php

+ 3 - 2
app/Services/QianBaoWithdrawService.php

@@ -197,7 +197,7 @@ class QianBaoWithdrawService
 
         $keyboard = [];
         foreach ($list as $item) {
-            $keyboard[] = [['text' => "$item->card_no($item->bank_name)", 'callback_data' => "withdrawAddress@@bank_detail{$item->id}"]];
+            $keyboard[] = [['text' => "{$item->bank_name}/{$item->account}  {$item->card_no}", 'callback_data' => "withdrawAddress@@bank_detail{$item->id}"]];
         }
         if (count($list) < 5) {
             $keyboard[] = [['text' => "➕ 添加银行卡", 'callback_data' => "withdrawAddress@@bank_add"]];
@@ -211,6 +211,7 @@ class QianBaoWithdrawService
         ];
     }
 
+    //删除银行卡
     static function bankDelete($chatId, $messageId, $id)
     {
         Bank::where('id', $id)
@@ -219,6 +220,7 @@ class QianBaoWithdrawService
         return static::banks($chatId, $messageId);
     }
 
+    //银行卡详情
     static function bankDetails($chatId, $messageId, $id)
     {
 
@@ -257,7 +259,6 @@ class QianBaoWithdrawService
         ];
     }
 
-
     static function addBank($chatId, $messageId)
     {
         $text = "请选择 提现通道\n";