Batch 6a: application controllers base
This commit is contained in:
17
application/controllers/his_api/Api.php
Normal file
17
application/controllers/his_api/Api.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
class Api extends MY_Controller {
|
||||
function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
function create_patient() {
|
||||
echo json_encode($this->sys_input);
|
||||
}
|
||||
function search_patient() {
|
||||
echo json_encode($this->sys_input);
|
||||
}
|
||||
function service_request() {
|
||||
echo json_encode($this->sys_input);
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user