From 30729a718a5210637109cf8c1ad10f92f7a82360 Mon Sep 17 00:00:00 2001 From: wenquan <80071319@qq.com> Date: Sun, 6 Sep 2020 13:15:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96=E7=94=A8?= =?UTF-8?q?=E6=88=B7IP=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index 728d360..ae0ab00 100644 --- a/api.php +++ b/api.php @@ -142,7 +142,7 @@ switch ($_GET['mod']){ }else if ($appinfo['logintype'] == 'jcbd'){ $where['appid'] = $_GET['appid']; if ($appinfo['bindip'] == '1'){ - $where['lip'] = $postdata['lip']; + $where['lip'] = $userip; } if ($appinfo['bindmac'] == '1'){ $where['mac'] = $postdata['mac'];