|
|
@@ -208,7 +208,8 @@ class IssueService extends BaseService
|
|
|
if ($image) {
|
|
|
$image = url($image);
|
|
|
}
|
|
|
- self::bettingGroupNotice($text, $buttons, $image);
|
|
|
+ // self::bettingGroupNotice($text, $buttons, $image);
|
|
|
+ self::asyncBettingGroupNotice($text, $buttons, $image);
|
|
|
}
|
|
|
$replyInfo = KeyboardService::findOne(['button' => '封盘开奖']);
|
|
|
if ($replyInfo) {
|
|
|
@@ -218,7 +219,8 @@ class IssueService extends BaseService
|
|
|
if ($image) {
|
|
|
$image = url($image);
|
|
|
}
|
|
|
- self::bettingGroupNotice($text, $buttons, $image);
|
|
|
+ // self::bettingGroupNotice($text, $buttons, $image);
|
|
|
+ self::asyncBettingGroupNotice($text, $buttons, $image);
|
|
|
}
|
|
|
return ['code' => self::YES, 'msg' => '封盘成功'];
|
|
|
}
|
|
|
@@ -895,7 +897,8 @@ class IssueService extends BaseService
|
|
|
if (Cache::has('issue_countdown_' . $info->id)) {
|
|
|
|
|
|
} else {
|
|
|
- self::bettingGroupNotice($text, $buttons, $image);
|
|
|
+ // self::bettingGroupNotice($text, $buttons, $image);
|
|
|
+ self::asyncBettingGroupNotice($text, $buttons, $image);
|
|
|
Cache::put('issue_countdown_' . $info->id, true, 60); // 缓存50秒,防止多次发送
|
|
|
}
|
|
|
|