我想知道我们是否可以将服务器页面重定向到客户端localhost页面并读取特定目录中的JSON数据。 读取JSON数据。
$data['result'] = $this->Json_model->get_data_list($table_name,$tab_id,$tab_field,$order_field,$order_by,$filter_field,$filter_value);
//print_r($data['result']);
$output = json_encode( $data['result'] );
$this->output->set_content_type('application/json');
//$this->output->set_output($output);