|
|
@@ -513,12 +513,13 @@ class BetService extends BaseService
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- $groupText .= "\n-------- \n";
|
|
|
- $inlineButton = self::getOperateButton();
|
|
|
- // 群通知 暂停2秒再发送,避免同时发送多个消息而超过 Telegram 的频率限制
|
|
|
- self::asyncBettingGroupNotice($groupText, $inlineButton); // 异步群通知
|
|
|
- sleep(2);
|
|
|
-
|
|
|
+ if($groupText!=""){
|
|
|
+ $groupText .= "\n-------- \n";
|
|
|
+ $inlineButton = self::getOperateButton();
|
|
|
+ // 群通知 暂停2秒再发送,避免同时发送多个消息而超过 Telegram 的频率限制
|
|
|
+ self::asyncBettingGroupNotice($groupText, $inlineButton); // 异步群通知
|
|
|
+ sleep(2);
|
|
|
+ }
|
|
|
|
|
|
Cache::put('fake_bet_' . $issueInfo->issue_no, $fake_bet_list, 500);
|
|
|
}
|