Ken 1 ヶ月 前
コミット
11001510f1
1 ファイル変更8 行追加4 行削除
  1. 8 4
      app/Services/QianBaoWithdrawService.php

+ 8 - 4
app/Services/QianBaoWithdrawService.php

@@ -172,10 +172,14 @@ class QianBaoWithdrawService
         foreach ($list as $item) {
             $keyboard[] = [['text' => $item->alias, 'callback_data' => "withdrawAddress@@choose_qb_{$item->id}"]];
         }
-        if (count($list) < 5) {
-            $keyboard[] = [['text' => "➕ 添加", 'callback_data' => "withdrawAddress@@bank_add"]];
-        }
-        $keyboard[] = [['text' => "↩️返回", 'callback_data' => "topUp@@home"]];
+//        if (count($list) < 5) {
+//            $keyboard[] = [['text' => "➕ 添加", 'callback_data' => "withdrawAddress@@bank_add"]];
+//        }
+
+
+        $keyboard[] = [
+            ['text' => '支付宝管理', 'callback_data' => "withdraw@@banks"],
+            ['text' => "取消", 'callback_data' => "topUp@@home"]];
         return [
             'chat_id' => $chatId,
             'text' => $text,