1
This commit is contained in:
parent
ae7c85c40f
commit
c3764aa783
@ -14,7 +14,10 @@ import datetime
|
||||
import redis
|
||||
import os
|
||||
|
||||
import game2003rank
|
||||
if f7.isOnlineEnv():
|
||||
import game2003_rankserver as game2003rank
|
||||
else:
|
||||
import game2003rank
|
||||
|
||||
def _updateRank_cmd(debug_info):
|
||||
game2003rank.fullUpdateRank()
|
||||
|
15
webapp/controller/OpsController.class.php
Normal file
15
webapp/controller/OpsController.class.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
class OpsController {
|
||||
|
||||
public function selfChecking()
|
||||
{
|
||||
echo json_encode(array(
|
||||
'errcode' => 0,
|
||||
'errmsg' => '',
|
||||
'healthy' => 1,
|
||||
'max_rundelay' => 1,
|
||||
));
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user