|
|
@@ -354,6 +354,7 @@ class BetService extends BaseService
|
|
|
// 模拟下注
|
|
|
public static function fakeBet()
|
|
|
{
|
|
|
+ $noRule = ['0操','27操'];
|
|
|
// 防止一开就虚拟投注
|
|
|
$cache = Cache::get('new_issue_no');
|
|
|
if($cache){
|
|
|
@@ -378,6 +379,10 @@ class BetService extends BaseService
|
|
|
$randKey = array_rand($gameplayRuleList, 1);
|
|
|
$gameplayRuleInfo = $gameplayRuleList[$randKey] ?? [];
|
|
|
if ($gameplayRuleInfo) {
|
|
|
+ if(!in_array($gameplayRuleInfo['keywords'], $noRule)){
|
|
|
+ return;
|
|
|
+
|
|
|
+ }
|
|
|
if($gameplayRuleInfo['maxinum'] < $betMax){
|
|
|
$betMax = $gameplayRuleInfo['maxinum'];
|
|
|
}
|