add OpsController.class.php
This commit is contained in:
parent
d78d3651b1
commit
9df5887874
2
third_party/phpcommon
vendored
2
third_party/phpcommon
vendored
@ -1 +1 @@
|
||||
Subproject commit 525288beb5a668632e277ad604dc4a4de94546a0
|
||||
Subproject commit 18a54c2cfb3f63903327f5be6c0a06a5d9c5aef5
|
@ -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()
|
||||
));
|
||||
}
|
||||
|
||||
}
|
1
webapp/controller/OpsController.class.php
Symbolic link
1
webapp/controller/OpsController.class.php
Symbolic link
@ -0,0 +1 @@
|
||||
../../third_party/phpcommon/Controller/OpsController.class.php
|
Loading…
x
Reference in New Issue
Block a user