|
|
|
@ -26,7 +26,7 @@ class Index extends CI_Controller {
|
|
|
|
|
$device = $this->input->post('device');
|
|
|
|
|
$start_score = $this->input->post('start_score');
|
|
|
|
|
$end_score = $this->input->post('end_score');
|
|
|
|
|
$data['score_data_list'] = $this->PageSpeedData_model->search_score_list($start_score, $end_score, $device, $this->config->item('site_code'));
|
|
|
|
|
$data['score_data_list'] = $this->PageSpeedData_model->search_score_list($start_score, $end_score, $this->config->item('site_code'), $device);
|
|
|
|
|
if (empty($data['score_data_list'])) {
|
|
|
|
|
echo json_encode('没有找到数据');
|
|
|
|
|
} else {
|
|
|
|
|