diff --git a/application/controllers/tools.php b/application/controllers/tools.php index 723c8d44..12741419 100644 --- a/application/controllers/tools.php +++ b/application/controllers/tools.php @@ -65,6 +65,7 @@ class Tools extends CI_Controller public function amp_check() { $data['amp'] = $this->input->get_post('amp'); + if (!$data['amp']) $data['amp'] = 'yes'; //AMP转化列表 if ($data['amp'] == 'yes') { $data['info'] = $this->InfoMetas_model->list_amp($this->site_code);