51 lines
1.5 KiB
PHP
51 lines
1.5 KiB
PHP
<?php
|
|
|
|
namespace services;
|
|
|
|
class CircuitRankingService extends BaseService {
|
|
|
|
public static function fillPhaseRanking($currentCircuitMeta, $currentStageMeta)
|
|
{
|
|
$rows = myself()->_callModelStatic('Circuit', 'getCircuitPhaseList',
|
|
$currentStageMeta['circuit_season'],
|
|
$currentStageMeta['circuit_phase']);
|
|
if (count($rows) < 100) {
|
|
return;
|
|
}
|
|
|
|
}
|
|
|
|
public static function fillRanking($currentCircuitMeta)
|
|
{
|
|
$rows = myself()->_callModelStatic('Circuit', 'getCircuitList',
|
|
$currentCircuitMeta['circuit_season']);
|
|
if (count($rows) < 100) {
|
|
return;
|
|
}
|
|
}
|
|
|
|
public static function repairPhaseRanking($currentCircuitMeta)
|
|
{
|
|
$rows = myself()->_callModelStatic('Circuit', 'getCircuitPhaseList',
|
|
$currentStageMeta['circuit_season'],
|
|
$currentStageMeta['circuit_phase']);
|
|
$androidHash = array();
|
|
foreach ($rows as $row) {
|
|
$androidHash[$row['account_id']] = $row;
|
|
}
|
|
if (count($androidHash) < 100) {
|
|
|
|
}
|
|
}
|
|
|
|
public static function repairRanking($currentCircuitMeta)
|
|
{
|
|
$rows = myself()->_callModelStatic('Circuit', 'getCircuitList',
|
|
$currentCircuitMeta['circuit_season']);
|
|
if (count($rows) < 100) {
|
|
return;
|
|
}
|
|
}
|
|
|
|
}
|