This commit is contained in:
aozhiwei 2020-01-20 16:36:05 +08:00
parent ae7c85c40f
commit c3764aa783
2 changed files with 19 additions and 1 deletions

View File

@ -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()

View File

@ -0,0 +1,15 @@
<?php
class OpsController {
public function selfChecking()
{
echo json_encode(array(
'errcode' => 0,
'errmsg' => '',
'healthy' => 1,
'max_rundelay' => 1,
));
}
}