add OpsController.class.php

This commit is contained in:
aozhiwei 2021-11-17 15:21:11 +08:00
parent d78d3651b1
commit 9df5887874
2 changed files with 2 additions and 19 deletions

@ -1 +1 @@
Subproject commit 525288beb5a668632e277ad604dc4a4de94546a0
Subproject commit 18a54c2cfb3f63903327f5be6c0a06a5d9c5aef5

View File

@ -1,18 +0,0 @@
<?php
class OpsController extends BaseController {
private $gameid = 1009;
public function selfChecking()
{
echo json_encode(array(
'errcode' => 0,
'errmsg' => "gameid:{$this->gameid}",
'healthy' => 1,
'max_rundelay' => 1,
'time' => phpcommon\getNowTime()
));
}
}

View File

@ -0,0 +1 @@
../../third_party/phpcommon/Controller/OpsController.class.php