Flatten nested repos
This commit is contained in:
27
test/vuex/verification-v4/Verificationdoctor.php
Normal file
27
test/vuex/verification-v4/Verificationdoctor.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user