|
@@ -1536,6 +1536,7 @@ class DataLogic
|
|
|
*/
|
|
*/
|
|
|
public function get_match_r($game_code, $lg_id, $match_id, $data)
|
|
public function get_match_r($game_code, $lg_id, $match_id, $data)
|
|
|
{
|
|
{
|
|
|
|
|
+
|
|
|
$set_match_r = [];
|
|
$set_match_r = [];
|
|
|
if ($game_code == 'zq') {
|
|
if ($game_code == 'zq') {
|
|
|
$set_match_r = [
|
|
$set_match_r = [
|
|
@@ -1554,7 +1555,7 @@ class DataLogic
|
|
|
"match_winer" => $data['match_winer'] ?: '',
|
|
"match_winer" => $data['match_winer'] ?: '',
|
|
|
"match_time" => $data['match_time'] ?: 0,
|
|
"match_time" => $data['match_time'] ?: 0,
|
|
|
"match_process" => $data['match_process'] ?: '',
|
|
"match_process" => $data['match_process'] ?: '',
|
|
|
- //"tag" => $data['tag'] ?: 0,
|
|
|
|
|
|
|
+ // "tag"=> $data['tag']?:0,
|
|
|
"match_id" => $match_id,
|
|
"match_id" => $match_id,
|
|
|
"update_time" => date('Y-m-d H:i:s')
|
|
"update_time" => date('Y-m-d H:i:s')
|
|
|
];
|
|
];
|
|
@@ -1575,7 +1576,7 @@ class DataLogic
|
|
|
"match_winer" => $data['match_winer'] ?: '',
|
|
"match_winer" => $data['match_winer'] ?: '',
|
|
|
"match_time" => $data['match_time'] ?: 0,
|
|
"match_time" => $data['match_time'] ?: 0,
|
|
|
"match_process" => $data['match_process'] ?: '',
|
|
"match_process" => $data['match_process'] ?: '',
|
|
|
- //"tag" => $data['tag'] ?: 0,
|
|
|
|
|
|
|
+ // "tag"=> $data['tag']?:0,
|
|
|
"match_id" => $match_id,
|
|
"match_id" => $match_id,
|
|
|
"update_time" => date('Y-m-d H:i:s'),
|
|
"update_time" => date('Y-m-d H:i:s'),
|
|
|
"result_mark" => json_encode($data['result_mark']) ?: '',
|
|
"result_mark" => json_encode($data['result_mark']) ?: '',
|
|
@@ -1603,9 +1604,9 @@ class DataLogic
|
|
|
"update_time" => date('Y-m-d H:i:s'),
|
|
"update_time" => date('Y-m-d H:i:s'),
|
|
|
"match_time" => $data['match_time'] ?: 0,
|
|
"match_time" => $data['match_time'] ?: 0,
|
|
|
"match_process" => $data['match_process'] ?: '',
|
|
"match_process" => $data['match_process'] ?: '',
|
|
|
- //"tag" => $data['tag'] ?: 0,
|
|
|
|
|
|
|
+ // "tag"=>$data['tag']?:0,
|
|
|
"match_id" => $match_id,
|
|
"match_id" => $match_id,
|
|
|
- "result_mark" => $data['result_mark'] ?: '',
|
|
|
|
|
|
|
+ "result_mark" => json_encode($data['result_mark']) ?: '',
|
|
|
];
|
|
];
|
|
|
}
|
|
}
|
|
|
if ($game_code == 'bq') {
|
|
if ($game_code == 'bq') {
|
|
@@ -1624,11 +1625,11 @@ class DataLogic
|
|
|
"match_winer" => $data['match_winer'] ?: '',
|
|
"match_winer" => $data['match_winer'] ?: '',
|
|
|
"match_time" => $data['match_time'] ?: 0,
|
|
"match_time" => $data['match_time'] ?: 0,
|
|
|
"match_process" => $data['match_process'] ?: '',
|
|
"match_process" => $data['match_process'] ?: '',
|
|
|
- //"tag" => $data['tag'] ?: 0,
|
|
|
|
|
|
|
+ // "tag"=> $data['tag']?:0,
|
|
|
"match_id" => $match_id,
|
|
"match_id" => $match_id,
|
|
|
"all_inning" => $data['all_inning'] ?: 9,
|
|
"all_inning" => $data['all_inning'] ?: 9,
|
|
|
"update_time" => date('Y-m-d H:i:s'),
|
|
"update_time" => date('Y-m-d H:i:s'),
|
|
|
- "result_mark" => $data['result_mark'] ?: '',
|
|
|
|
|
|
|
+ "result_mark" => json_encode($data['result_mark']) ?: '',
|
|
|
];
|
|
];
|
|
|
}
|
|
}
|
|
|
|
|
|