|
|
@@ -226,10 +226,14 @@ class PcIssueService extends BaseService
|
|
|
if ($pc28Switch == 1) SendTelegramGroupMessageJob::dispatch($text, $buttons, $image, true);
|
|
|
}
|
|
|
|
|
|
- $recordImage = self::lotteryImage($info->issue_no);
|
|
|
- if ($recordImage) {
|
|
|
- if ($pc28Switch == 1) SendTelegramGroupMessageJob::dispatch('', [], url($recordImage), false);
|
|
|
+ //开发环境不生成开奖图片
|
|
|
+ if (env('APP_ENV') != 'local') {
|
|
|
+ $recordImage = self::lotteryImage($info->issue_no);
|
|
|
+ if ($recordImage) {
|
|
|
+ if ($pc28Switch == 1) SendTelegramGroupMessageJob::dispatch('', [], url($recordImage), false);
|
|
|
+ }
|
|
|
}
|
|
|
+
|
|
|
//中奖结算 并发送群通知 xxxx期开奖结果
|
|
|
BetService::betSettled($info->issue_no, $awards);
|
|
|
DB::commit();
|