LoanAfter_enum.php
411 Bytes
<?php
class LoanAfter_enum extends CI_Driver
{
public $CI;
public function __construct () {
$this->CI = &get_instance();
}
public function prosecute () {
$url = $this->CI->config->item('apiBaseUrl') . 'loanAfter/enum/prosecute';
$result = file_get_contents($url);
$json = json_decode($result, true);
$ret = $json['data'];
return $ret;
}
}