|
|
@@ -1058,18 +1058,28 @@ class BetService extends BaseService
|
|
|
$group_language = Config::where('field', 'group_language')->first()->val;
|
|
|
App::setLocale($group_language);
|
|
|
$text3 = "📝 {$issue_no}" . lang('期投注统计') . " \n";
|
|
|
- $text3 .= lang("玩法") . " " . lang("总投") . " \n";
|
|
|
+ $text3 .= "<table><tr>";
|
|
|
+ $text3 .= "<th>" . lang("玩法") . "</th>";
|
|
|
+ $text3 .= "<th>" . lang("总投") . "</th>";
|
|
|
+ $text3 .= "<tr>";
|
|
|
App::setLocale($lang);
|
|
|
if ($keywordsList) {
|
|
|
uksort($keywordsList, 'custom_sort');
|
|
|
// ksort($keywordsList);
|
|
|
- $text3.="<pre>";
|
|
|
+
|
|
|
foreach ($keywordsList as $k => $v) {
|
|
|
- $text3 .= "{$k} {$v} \n";
|
|
|
+ $text3 .= "<tr>";
|
|
|
+ $text3 .= "<td>{$k}</td>";
|
|
|
+ $text3 .= "<td>{$v}</td>";
|
|
|
+// $text3 .= "{$k} {$v} \n";
|
|
|
+// $text3 .= "{$k} {$v} \n";
|
|
|
+ $text3 .= "</tr>";
|
|
|
}
|
|
|
- $text3.="</pre>";
|
|
|
+
|
|
|
}
|
|
|
|
|
|
+ $text3 .= "</table>";
|
|
|
+
|
|
|
$inlineButton = self::getOperateButton();
|
|
|
|
|
|
SendTelegramGroupMessageJob::dispatch($text3, $inlineButton, '');
|