28 lines
632 B
PHP
Executable File
28 lines
632 B
PHP
Executable File
<?php
|
|
|
|
class Verificationdoctor extends MY_Controller
|
|
{
|
|
var $db_smartone;
|
|
public function index()
|
|
{
|
|
echo "API";
|
|
}
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
$this->db_smartone = $this->load->database("smartone", true);
|
|
}
|
|
public function lookup()
|
|
{
|
|
$verification_doctor= array(
|
|
array('id'=>1,'check'=>true,'note'=>'','label'=>'Nama dokter sudah sesuai'),
|
|
array('id'=>2,'check'=>true,'note'=>'','label'=>'Alamat dokter sudah sesuai')
|
|
);
|
|
$result = array(
|
|
"records" => $verification_doctor
|
|
);
|
|
$this->sys_ok($result);
|
|
exit;
|
|
}
|
|
}
|