From 5f8b002b73f22fc0a092dbefb5e0d453e777db03 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Mon, 27 Apr 2020 12:47:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Sdk/Controller/UserController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Sdk/Controller/UserController.class.php b/Application/Sdk/Controller/UserController.class.php index c929691d..96e77485 100644 --- a/Application/Sdk/Controller/UserController.class.php +++ b/Application/Sdk/Controller/UserController.class.php @@ -23,7 +23,7 @@ class UserController extends BaseController { $params = json_decode(base64_decode(file_get_contents("php://input")), true); - if (empty($user)) { + if (empty($params)) { $this -> set_message(1001, "fail", "登录数据不能为空"); }