Ken 1 週間 前
コミット
46b9853092
1 ファイル変更8 行追加0 行削除
  1. 8 0
      app/Services/BetService.php

+ 8 - 0
app/Services/BetService.php

@@ -1184,6 +1184,14 @@ class BetService extends BaseService
         // self::bettingGroupNotice($text, $inlineButton, '');
 
         // Log::error('lotteryNotice Group:'.$text);
+
+        $pos = strrpos($text, '--------------------------------');
+
+        if ($pos !== false) {
+            // 使用 substr_replace 来删除最后一个 "ne"
+            $text = substr_replace($text, "", $pos, strlen('--------------------------------'));
+        }
+
         SendTelegramGroupMessageJob::dispatch($text, $inlineButton, '', false, '--------------------------------');