Ken 1 semana atrás
pai
commit
46b9853092
1 arquivos alterados com 8 adições e 0 exclusões
  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, '--------------------------------');