|
|
@@ -453,7 +453,7 @@ class HttpServerOnlySet
|
|
|
}
|
|
|
|
|
|
if ($val->result == -1) {
|
|
|
- $this->PushSqlToArray("update money_buy_str set wait_match_num=0, prize_note=0, game_status=3, settle_status=2, gain_money=0,settlementTime='" . date('Y-m-d H:i:s') . "' where batch_id='$batch_id' ");
|
|
|
+ $this->PushSqlToArray("update money_buy_str set wait_match_num=0, prize_note=0, game_status=3, settle_status=2, gain_money=0,settlementtime='" . date('Y-m-d H:i:s') . "' where batch_id='$batch_id' ");
|
|
|
return true;
|
|
|
}
|
|
|
$in_array[] = ['odds' => $val->odds, 'winOrLose' => $val->result];
|
|
|
@@ -467,7 +467,7 @@ class HttpServerOnlySet
|
|
|
$money = $simplexData->money;
|
|
|
}
|
|
|
|
|
|
- $this->PushSqlToArray(" update money_buy_str set settle_status=2 , game_status=1 , settlementTime='$newTime' , gain_money=$money where order_id = '$order_id'");
|
|
|
+ $this->PushSqlToArray(" update money_buy_str set settle_status=2 , game_status=1 , settlementtime='$newTime' , gain_money=$money where order_id = '$order_id'");
|
|
|
$this->WriteOrAddSettlement($game_code, $match_id, $bet_type, $order_id, $account_identity, $money);
|
|
|
$useraccident = $simplexData->account_identity;
|
|
|
$this->userMoneyTotal[$useraccident] = isset($this->userMoneyTotal[$useraccident]) ? $this->userMoneyTotal[$useraccident] + $money : $money;
|