33 lines
685 B
PHP
33 lines
685 B
PHP
<?php
|
|
|
|
class Test_nat_patient extends MY_Controller
|
|
{
|
|
function __construct()
|
|
{
|
|
parent::__construct();
|
|
}
|
|
// tamblah flag isVerification
|
|
function search_bizone()
|
|
{
|
|
$param = "hando++602";
|
|
$this->load->library("NatPatientLib");
|
|
$resp = $this->natpatientlib->search($param);
|
|
echo json_encode($resp);
|
|
}
|
|
function search_nik($nik)
|
|
{
|
|
$this->load->library("NatPatientLib");
|
|
$param = ["nik" => $nik];
|
|
$resp = $this->natpatientlib->search_by_nik($param);
|
|
// print_r($resp);
|
|
echo json_encode($resp);
|
|
}
|
|
|
|
function validasi_nik()
|
|
{
|
|
}
|
|
function index()
|
|
{
|
|
}
|
|
}
|