|
@@ -393,8 +393,7 @@ class WinfailLogic
|
|
|
|
|
|
|
|
|
|
|
|
|
//普通单式或串式订单输赢处理
|
|
//普通单式或串式订单输赢处理
|
|
|
- public
|
|
|
|
|
- function WinFailOneOrderNomal($order_id, $bet_type = 1)
|
|
|
|
|
|
|
+ public function WinFailOneOrderNomal($order_id, $bet_type = 1)
|
|
|
{
|
|
{
|
|
|
if ($bet_type == 1) {
|
|
if ($bet_type == 1) {
|
|
|
$orderInfo = DB::table('money_buy_simplex')->where('order_id', $order_id)->first();
|
|
$orderInfo = DB::table('money_buy_simplex')->where('order_id', $order_id)->first();
|
|
@@ -415,6 +414,7 @@ class WinfailLogic
|
|
|
if (empty($result)) {
|
|
if (empty($result)) {
|
|
|
return 0;
|
|
return 0;
|
|
|
}
|
|
}
|
|
|
|
|
+ $this->FormatResult_all($orderInfo->game_code, $result['0']);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$winorfalsedef = ['result' => 2, 'matchResult' => 'noRuleOrError'];
|
|
$winorfalsedef = ['result' => 2, 'matchResult' => 'noRuleOrError'];
|
|
@@ -435,6 +435,7 @@ class WinfailLogic
|
|
|
$chuanSkip = 1;
|
|
$chuanSkip = 1;
|
|
|
continue;
|
|
continue;
|
|
|
}
|
|
}
|
|
|
|
|
+ $this->FormatResult_all($game_code, $result['0']);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
$AdapterObj = $this->getAdapterObj($game_code);
|
|
$AdapterObj = $this->getAdapterObj($game_code);
|