From e7b324a3d88f8239747d48c92ebe07f3ef71902a Mon Sep 17 00:00:00 2001 From: wenquan <80071319@qq.com> Date: Wed, 15 Apr 2020 17:06:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B7=BB=E5=8A=A0=E6=8E=88?= =?UTF-8?q?=E6=9D=83=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/ajax.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/admin/ajax.php b/admin/ajax.php index 04db7c7..0391fa1 100644 --- a/admin/ajax.php +++ b/admin/ajax.php @@ -1203,6 +1203,18 @@ switch ($_GET['mod']){ } $balance = $_POST['kt_num']; include '../function/function_auth.php'; + if(!isset($_POST['kt_ip'])){ + $_POST['kt_ip'] = ''; + } + if(!isset($_POST['kt_ip'])){ + $_POST['kt_ip'] = ''; + } + if(!isset($_POST['kt_robotqq'])){ + $_POST['kt_robotqq'] = ''; + } + if(!isset($_POST['kt_mac'])){ + $_POST['kt_mac'] = ''; + } if ($appinfo['logintype'] == 'jcbd'){ $_POST['kt_user'] = json_encode(array( 'lip'=>$_POST['kt_ip'],