From 02ef16409de4a82c5b73163b741905a25f48f901 Mon Sep 17 00:00:00 2001 From: zhaoxiang <756958008@qq.com> Date: Tue, 25 Apr 2017 14:46:27 +0800 Subject: [PATCH] =?UTF-8?q?added=20=E6=A0=B7=E5=BC=8F=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Home/Controller/ApiController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Home/Controller/ApiController.class.php b/Application/Home/Controller/ApiController.class.php index e95cada..dcec989 100644 --- a/Application/Home/Controller/ApiController.class.php +++ b/Application/Home/Controller/ApiController.class.php @@ -62,7 +62,7 @@ class ApiController extends BaseController { $this->param = $getArr; break; } - if( $this->header['USER-AGENT'] == 'wx' ){ + if ($this->header['USER-AGENT'] == 'wx') { $data = file_get_contents("php://input"); $data = json_decode($data, true); $this->param = $data;