This commit is contained in:
aozhiwei 2024-11-04 16:21:43 +08:00
parent 6e96183dce
commit be0a73d426

View File

@ -41,7 +41,7 @@ class OutAppCircuitController extends BaseController {
$user = User::find('2_2006_I75DCdyQRllgGRYvT0wcGtPR9gbDUZws');
}
$info = array(
'star_time' => strtotime($currentCircuitMeta['start_time']),
'start_time' => strtotime($currentCircuitMeta['start_time']),
'end_time' => strtotime($currentCircuitMeta['end_time']),
'ranking' => 0,
'score' => 0,
@ -61,7 +61,7 @@ class OutAppCircuitController extends BaseController {
}
$myInfo = $this->_celMyRankingInfo($list,$user['account_id']);
$info = array(
'star_time' => strtotime($currentCircuitMeta['start_time']),
'start_time' => strtotime($currentCircuitMeta['start_time']),
'end_time' => strtotime($currentCircuitMeta['end_time']),
'ranking' => $myInfo['ranking'],
'score' => $myInfo['score'],
@ -92,7 +92,7 @@ class OutAppCircuitController extends BaseController {
}
if (!$user){
$info = array(
'star_time' => strtotime($currentStageMeta['start_time']),
'start_time' => strtotime($currentStageMeta['start_time']),
'end_time' => strtotime($currentStageMeta['end_time']),
'ranking' => 0,
'score' => 0
@ -115,7 +115,7 @@ class OutAppCircuitController extends BaseController {
}
$myInfo = $this->_celMyRankingInfo($list,$user['account_id']);
$info = array(
'star_time' => strtotime($currentStageMeta['start_time']),
'start_time' => strtotime($currentStageMeta['start_time']),
'end_time' => strtotime($currentStageMeta['end_time']),
'ranking' => $myInfo['ranking'],
'score' => $myInfo['score'],