1
This commit is contained in:
parent
ae7c85c40f
commit
c3764aa783
@ -14,6 +14,9 @@ import datetime
|
|||||||
import redis
|
import redis
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
if f7.isOnlineEnv():
|
||||||
|
import game2003_rankserver as game2003rank
|
||||||
|
else:
|
||||||
import game2003rank
|
import game2003rank
|
||||||
|
|
||||||
def _updateRank_cmd(debug_info):
|
def _updateRank_cmd(debug_info):
|
||||||
|
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