|
|
@ -45,7 +45,7 @@ getRoom
|
|
|
|
Parameters:
|
|
|
|
Parameters:
|
|
|
|
id (integer) - Room ID
|
|
|
|
id (integer) - Room ID
|
|
|
|
Return Example:
|
|
|
|
Return Example:
|
|
|
|
[{"RID":"1"},{"RID":"2"},{"RID":"3"},{"RID":"4"}]
|
|
|
|
[{"RID":"1"},{"RID":"23"},{"RID":"42"}]
|
|
|
|
{"RID":"1","Name":"Room Name","Man":null,"FromPentabarf":"","show":"Y","Number":"0"}
|
|
|
|
{"RID":"1","Name":"Room Name","Man":null,"FromPentabarf":"","show":"Y","Number":"0"}
|
|
|
|
|
|
|
|
|
|
|
|
getAngelType
|
|
|
|
getAngelType
|
|
|
@ -184,6 +184,10 @@ function api_controller() {
|
|
|
|
$DataJson = array (
|
|
|
|
$DataJson = array (
|
|
|
|
'status' => 'failed',
|
|
|
|
'status' => 'failed',
|
|
|
|
'error' => 'DataJson === false' );
|
|
|
|
'error' => 'DataJson === false' );
|
|
|
|
|
|
|
|
} elseif( $DataJson == null) {
|
|
|
|
|
|
|
|
$DataJson = array (
|
|
|
|
|
|
|
|
'status' => 'failed',
|
|
|
|
|
|
|
|
'error' => 'DataJson == null' );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
echo json_encode($DataJson);
|
|
|
|
echo json_encode($DataJson);
|
|
|
@ -334,4 +338,4 @@ function sendMessage(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|