|
@@ -53,9 +53,6 @@ class PcIssueService extends BaseService
|
|
|
if ($image) $image = url($image);
|
|
if ($image) $image = url($image);
|
|
|
self::asyncBettingGroupNotice($text, $buttons, $image);
|
|
self::asyncBettingGroupNotice($text, $buttons, $image);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- // 统计投注情况通知
|
|
|
|
|
- BetService::statNotice($item->issue_no);
|
|
|
|
|
$replyInfo = KeyboardService::findOne(['button' => '封盘开奖']);
|
|
$replyInfo = KeyboardService::findOne(['button' => '封盘开奖']);
|
|
|
if ($replyInfo) {
|
|
if ($replyInfo) {
|
|
|
$text = $replyInfo->reply;
|
|
$text = $replyInfo->reply;
|
|
@@ -65,6 +62,9 @@ class PcIssueService extends BaseService
|
|
|
if ($image) $image = url($image);
|
|
if ($image) $image = url($image);
|
|
|
self::asyncBettingGroupNotice($text, $buttons, $image);
|
|
self::asyncBettingGroupNotice($text, $buttons, $image);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ // 统计投注情况通知 xxxx期投注统计
|
|
|
|
|
+ BetService::statNotice($item->issue_no);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -191,6 +191,7 @@ class PcIssueService extends BaseService
|
|
|
if ($recordImage) {
|
|
if ($recordImage) {
|
|
|
if ($pc28Switch == 1) SendTelegramGroupMessageJob::dispatch('', [], url($recordImage), false);
|
|
if ($pc28Switch == 1) SendTelegramGroupMessageJob::dispatch('', [], url($recordImage), false);
|
|
|
}
|
|
}
|
|
|
|
|
+ //中奖结算 并发送群通知 xxxx期开奖结果
|
|
|
BetService::betSettled($info->issue_no, $awards);
|
|
BetService::betSettled($info->issue_no, $awards);
|
|
|
DB::commit();
|
|
DB::commit();
|
|
|
return ['code' => self::YES, 'msg' => '开奖成功'];
|
|
return ['code' => self::YES, 'msg' => '开奖成功'];
|