From dc99f4b648cfefe3e6a48e08d3a28f691f8eb384 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Tue, 24 Aug 2021 15:34:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=A0=B9=E6=8D=AE=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E5=90=8D=E6=B5=8B=E8=AF=95=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/test.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/controllers/test.php b/application/controllers/test.php index 7a7efa6b..fc7860b0 100644 --- a/application/controllers/test.php +++ b/application/controllers/test.php @@ -14,15 +14,15 @@ class Test extends CI_Controller } + // https://cht.mycht.cn/info.php/test/feedback/?tag=%3C!--%40FEEDBACK_(.*)%40--%3E public function feedback() { - $is_id = $this->input->get_post('is_id'); + $tag = $this->input->get_post('tag'); $template_path = 'mobile_first/ch'; - $information = $this->Information_model->Detail($is_id); $feedback_array = array(); - preg_match_all('^^', $information->ic_content, $feedback_array); + preg_match_all('^^', $tag, $feedback_array); if (!empty($feedback_array)) { foreach ($feedback_array[0] as $index => $tag_name) { $city_name = $feedback_array[1][$index];