|
|
@@ -148,6 +148,8 @@ class WinfailLogic
|
|
|
$groupDatas = $this->getOddsTypeData($game_code, $match_id);
|
|
|
$fristRet = $this->getFristRecord($game_code, $match_id, $groupDatas);
|
|
|
$RefClass = new \ReflectionClass($AdapterObj);
|
|
|
+ $noticeId = $matchModel->id;
|
|
|
+ $nowtime = date("Y-m-d H:i:s");
|
|
|
|
|
|
$winorfalsedef = ['result' => 2, 'matchResult' => 'noRuleOrError'];
|
|
|
foreach ($fristRet as $matchModel) {
|
|
|
@@ -182,6 +184,7 @@ class WinfailLogic
|
|
|
} else {
|
|
|
DB::update("update money_buy_simplex set game_status=$rwin where batch_id in ( $sql)");
|
|
|
}
|
|
|
+ DB::update("update comendnotice set status=1,result=1,done_time='$nowtime' where id=$noticeId ");
|
|
|
}
|
|
|
return true;
|
|
|
}
|
|
|
@@ -201,7 +204,5 @@ class WinfailLogic
|
|
|
return $return;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
|
|
|
}
|