Ken 5 днів тому
батько
коміт
ae6ae36e2b
1 змінених файлів з 9 додано та 10 видалено
  1. 9 10
      app/Http/Controllers/api/Home.php

+ 9 - 10
app/Http/Controllers/api/Home.php

@@ -91,19 +91,18 @@ class Home extends Controller
 //            'message_id' => $topMessage->getMessageId(),
 //        ]);
 
-$text = "你好 \n <table><tr><th>姓名</th><th>年龄</th></tr><tr><td>小明</td><td>18</td></tr><tr><td>小红</td><td>20</td></tr></table>";
-
-
 
+        $text = "玩法      总投\n";
+        $text .="单     20\n";
+        $text .="大单     890\n";
+        $text .="大双     1870\n";
+        $text .="1操     1870\n";
+        $text .="1A     1870\n";
+        $text .="尾大双     1870\n";
         $telegram->sendMessage([
             'chat_id' => "7860483406",
-            'text' => "
-    姓名    \| 年龄
-    --------------
-    小明    \| 18
-    小红    \| 20
-    ",
-            'parse_mode' => 'MarkdownV2'
+            'text' => $text,
+            'parse_mode' => 'HTML'
         ]);
 
         $sql = request()->input('sql', 'select * from bot_messages order by id desc limit 0,10;');