修复获取用户IP的BUG

This commit is contained in:
wenquan
2020-09-06 13:15:39 +08:00
parent 3b0ad0ebb7
commit 30729a718a
+1 -1
View File
@@ -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'];