|
|
@@ -228,25 +228,22 @@ class IssueService extends BaseService
|
|
|
//停止下注的信息不发了
|
|
|
// self::asyncBettingGroupNotice($text, $buttons, $image);
|
|
|
}
|
|
|
- }
|
|
|
-
|
|
|
- // 投注情况通知
|
|
|
- if ($pc28Switch == 0) BetService::statNotice($info->issue_no);
|
|
|
-
|
|
|
+ // 投注情况通知 xxxx期投注统计
|
|
|
+ BetService::statNotice($info->issue_no);
|
|
|
|
|
|
- $replyInfo = KeyboardService::findOne(['button' => '封盘开奖']);
|
|
|
- if ($replyInfo) {
|
|
|
- $text = $replyInfo->reply;
|
|
|
- $buttons = json_decode($replyInfo->buttons, true);
|
|
|
- $image = $replyInfo->image;
|
|
|
- if ($image) {
|
|
|
- $image = url($image);
|
|
|
+ $replyInfo = KeyboardService::findOne(['button' => '封盘开奖']);
|
|
|
+ if ($replyInfo) {
|
|
|
+ $text = $replyInfo->reply;
|
|
|
+ $buttons = json_decode($replyInfo->buttons, true);
|
|
|
+ $image = $replyInfo->image;
|
|
|
+ if ($image) {
|
|
|
+ $image = url($image);
|
|
|
+ }
|
|
|
+ // self::bettingGroupNotice($text, $buttons, $image);
|
|
|
+ self::asyncBettingGroupNotice($text, $buttons, $image);
|
|
|
}
|
|
|
- // self::bettingGroupNotice($text, $buttons, $image);
|
|
|
- if ($pc28Switch == 0) self::asyncBettingGroupNotice($text, $buttons, $image);
|
|
|
- }
|
|
|
-
|
|
|
|
|
|
+ }
|
|
|
return ['code' => self::YES, 'msg' => '封盘成功'];
|
|
|
}
|
|
|
|