|
|
@@ -322,7 +322,7 @@ class IssueService extends BaseService
|
|
|
Cao::updateData($awards);
|
|
|
CaoHistory::updateData($awards);
|
|
|
|
|
|
-
|
|
|
+ $pc28Switch = Config::where('field', 'pc28_switch')->first()->val;
|
|
|
$replyInfo = KeyboardService::findOne(['button' => '本期开奖']);
|
|
|
if ($replyInfo) {
|
|
|
$text = $replyInfo->reply;
|
|
|
@@ -340,13 +340,13 @@ class IssueService extends BaseService
|
|
|
|
|
|
}
|
|
|
// self::bettingGroupNotice($text, $buttons, $image, true);
|
|
|
- SendTelegramGroupMessageJob::dispatch($text, $buttons, $image, true);
|
|
|
+ if ($pc28Switch == 0) SendTelegramGroupMessageJob::dispatch($text, $buttons, $image, true);
|
|
|
}
|
|
|
|
|
|
$recordImage = self::lotteryImage($info->issue_no);
|
|
|
if ($recordImage) {
|
|
|
// self::bettingGroupNotice('', [], url($recordImage));
|
|
|
- SendTelegramGroupMessageJob::dispatch('', [], url($recordImage), false);
|
|
|
+ if ($pc28Switch == 0) SendTelegramGroupMessageJob::dispatch('', [], url($recordImage), false);
|
|
|
}
|
|
|
|
|
|
|