Ken 2 ngày trước cách đây
mục cha
commit
b62002db10
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 4 2
      app/Services/QianBaoWithdrawService.php

+ 4 - 2
app/Services/QianBaoWithdrawService.php

@@ -408,9 +408,11 @@ class QianBaoWithdrawService
             $keyboard[] = [['text' => $item->alias, 'callback_data' => "withdrawAddress@@bank_detail{$item->id}"]];
         }
         if (count($list) < 5) {
-            $keyboard[] = [['text' => "➕ 添加", 'callback_data' => "withdrawAddress@@bank_add"]];
+            $keyboard[] = [['text' => "➕ 添加", 'callback_data' => "withdrawAddress@@bank_add"], ['text' => "↩️返回", 'callback_data' => "topUp@@home"]];
+        } else {
+            $keyboard[] = [['text' => "↩️返回", 'callback_data' => "topUp@@home"]];
         }
-        $keyboard[] = [['text' => "↩️返回", 'callback_data' => "topUp@@home"]];
+
         return [
             'chat_id' => $chatId,
             'text' => $text,