|
@@ -347,7 +347,8 @@ class BetService extends BaseService
|
|
|
$inlineButton = self::getOperateButton();
|
|
$inlineButton = self::getOperateButton();
|
|
|
|
|
|
|
|
// 群通知
|
|
// 群通知
|
|
|
- self::bettingGroupNotice($groupText, $inlineButton); // 群通知
|
|
|
|
|
|
|
+ // self::bettingGroupNotice($groupText, $inlineButton); // 群通知
|
|
|
|
|
+ self::asyncBettingGroupNotice($groupText, $inlineButton); // 异步群通知
|
|
|
|
|
|
|
|
return $msg;
|
|
return $msg;
|
|
|
}
|
|
}
|
|
@@ -372,7 +373,7 @@ class BetService extends BaseService
|
|
|
$betMini = $betFakeRandAmount[0]??10;
|
|
$betMini = $betFakeRandAmount[0]??10;
|
|
|
$betMax = $betFakeRandAmount[1]??10000;
|
|
$betMax = $betFakeRandAmount[1]??10000;
|
|
|
|
|
|
|
|
- $now_date = date('Y-m-d H:i:s',time() + 30); // 提前30秒
|
|
|
|
|
|
|
+ $now_date = date('Y-m-d H:i:s',time() + 60); // 提前60秒
|
|
|
if($issueInfo['end_time'] > $now_date){
|
|
if($issueInfo['end_time'] > $now_date){
|
|
|
$fake_bet_list = Cache::get('fake_bet_' . $issueInfo->issue_no, []);
|
|
$fake_bet_list = Cache::get('fake_bet_' . $issueInfo->issue_no, []);
|
|
|
|
|
|
|
@@ -424,7 +425,8 @@ class BetService extends BaseService
|
|
|
$inlineButton = self::getOperateButton();
|
|
$inlineButton = self::getOperateButton();
|
|
|
|
|
|
|
|
// 群通知
|
|
// 群通知
|
|
|
- self::bettingGroupNotice($groupText, $inlineButton); // 群通知
|
|
|
|
|
|
|
+ // self::bettingGroupNotice($groupText, $inlineButton); // 群通知
|
|
|
|
|
+ self::asyncBettingGroupNotice($groupText, $inlineButton); // 异步群通知
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
Cache::put('fake_bet_' . $issueInfo->issue_no, $fake_bet_list, 500);
|
|
Cache::put('fake_bet_' . $issueInfo->issue_no, $fake_bet_list, 500);
|