@ -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", "登录数据不能为空");
}