mirror of
https://e.coding.net/circlecloud/McAccount.git
synced 2025-09-06 07:37:40 +00:00
add server status and fix some bug...
Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
8
Controller/server_status.php
Normal file
8
Controller/server_status.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
class server_status extends AmysqlController {
|
||||
function getinfo() {
|
||||
$info = $this -> _model('server_model') -> QueryMinecraft( $_REQUEST ['ip'], $_REQUEST ['port'] );
|
||||
return $info;
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user