From 4e35f0282e1ea99d2bd00fb5c2416016031d70b6 Mon Sep 17 00:00:00 2001 From: LMR <59361885@qq.com> Date: Fri, 24 May 2024 15:59:01 +0800 Subject: [PATCH] =?UTF-8?q?echo=20json=5Fencode(array('err'=3D>'=E5=AE=B9?= =?UTF-8?q?=E9=94=991'));?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/infofix.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/controllers/infofix.php b/application/controllers/infofix.php index fe6066f5..cc0d5578 100644 --- a/application/controllers/infofix.php +++ b/application/controllers/infofix.php @@ -117,7 +117,7 @@ class infofix extends CI_Controller //echo ($keys); //return true; - // 容错 + // 容错1 if ( empty($site) || count($keyArr) != 4 || @@ -127,7 +127,7 @@ class infofix extends CI_Controller mb_stripos($keys, '@@') !== false || mb_stripos($keys, '@ @') !== false ) { - echo json_encode(array()); + echo json_encode(array('err' => '容错1')); return false; } @@ -146,7 +146,7 @@ class infofix extends CI_Controller mb_stripos($newStr, '/') === false || mb_stripos($oldStr, '/') === false ) { - echo json_encode(array()); + echo json_encode(array('err' => '容错2')); return false; }