1
This commit is contained in:
parent
81f37155a0
commit
fd644c4bf5
@ -494,7 +494,7 @@ class ToolsController extends BaseController {
|
|||||||
public function battleBoxDumpToday()
|
public function battleBoxDumpToday()
|
||||||
{
|
{
|
||||||
$phase = getReqVal('phase', '');
|
$phase = getReqVal('phase', '');
|
||||||
BattleBoxService::dumpToday(phase);
|
BattleBoxService::dumpToday($phase);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -117,7 +117,14 @@ class BattleBoxService {
|
|||||||
|
|
||||||
public static function dumpToday($phase)
|
public static function dumpToday($phase)
|
||||||
{
|
{
|
||||||
|
$data = array(
|
||||||
|
'phase' => $phase,
|
||||||
|
'drop_last_time' => self::getDailyPhaseDropLastTime($phase, myself()->_getNowDaySeconds()),
|
||||||
|
'drop_curr_total' => self::getDailyPhaseDropTotalNum($phase, myself()->_getNowDaySeconds()),
|
||||||
|
'alloc_num' => self::getDailyPhaseAllocNum($phase, myself()->_getNowDaySeconds()),
|
||||||
|
'already_alloced_num' => self::getDailyPhaseAlreadyAllocNum($phase, myself()->_getNowDaySeconds()),
|
||||||
|
);
|
||||||
|
myself()->_rspData($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static function getDailyPhaseDropLastTime($phase, $time)
|
private static function getDailyPhaseDropLastTime($phase, $time)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user