|
@@ -247,24 +247,9 @@ class BetService extends BaseService
|
|
|
$groupText .= "{$input} \n";
|
|
|
$groupText .= "----------- \n";
|
|
|
|
|
|
- $username = config('services.telegram.username');
|
|
|
- $serviceAccount = Config::where('field', 'service_account')->first()->val;
|
|
|
- $officialChannel = Config::where('field', 'official_channel')->first()->val;
|
|
|
- $inlineButton = [];
|
|
|
- $inlineButton[] = [
|
|
|
- ['text' => "查看余额", 'callback_data' => 'balanceAlert'],
|
|
|
- ['text' => "✅唯一财务", 'url' => "https://t.me/{$serviceAccount}"]
|
|
|
- ];
|
|
|
- $inlineButton[] = [
|
|
|
- ['text' => "近期注单", 'callback_data' => 'betsAlert'],
|
|
|
- ['text' => "今日流水", 'callback_data' => 'todayFlowAlert']
|
|
|
- ];
|
|
|
- $inlineButton[] = [
|
|
|
- ['text' => "私聊下注", 'url' => "https://t.me/{$username}"]
|
|
|
- ];
|
|
|
- $inlineButton[] = [
|
|
|
- ['text' => "官方频道", 'url' => "https://t.me/{$officialChannel}"]
|
|
|
- ];
|
|
|
+
|
|
|
+ $inlineButton = self::getOperateButton();
|
|
|
+
|
|
|
// 群通知
|
|
|
self::bettingGroupNotice($groupText,$inlineButton); // 群通知
|
|
|
|