From 3bf288fa41b3f5e6d41becda4d617a4c5c4496ef Mon Sep 17 00:00:00 2001 From: chenzhi Date: Thu, 2 Jan 2020 11:54:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=99=BB=E9=99=86=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=8C=BA=E6=9C=8D=E5=90=8D=E7=A7=B0=E4=B8=BA=E5=8C=BA?= =?UTF-8?q?=E6=9C=8Did?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/MemberController.class.php | 6 +++--- Application/Admin/View/Member/login_record.html | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Application/Admin/Controller/MemberController.class.php b/Application/Admin/Controller/MemberController.class.php index f4ab7e9c2..8eede5401 100644 --- a/Application/Admin/Controller/MemberController.class.php +++ b/Application/Admin/Controller/MemberController.class.php @@ -1140,9 +1140,9 @@ class MemberController extends ThinkController $map['user_account'] = array('like', trim($_REQUEST['account']) . '%'); unset($_REQUEST['account']); } - if (isset($_REQUEST['server_name'])) { - $map['server_name'] = $_REQUEST['server_name']; - unset($_REQUEST['server_name']); + if (isset($_REQUEST['server_id'])) { + $map['server_id'] = $_REQUEST['server_id']; + unset($_REQUEST['server_id']); } // $promoteRoot = getPowerPromoteIds(); diff --git a/Application/Admin/View/Member/login_record.html b/Application/Admin/View/Member/login_record.html index cd1327b1a..4c127dc38 100644 --- a/Application/Admin/View/Member/login_record.html +++ b/Application/Admin/View/Member/login_record.html @@ -83,7 +83,7 @@
-
@@ -281,7 +281,7 @@ }) }); - var game_server = "{:I('server_name')}"; + var game_server = "{:I('server_id')}"; $("#game_type").change(function(){ $.ajax({ url:"{:U('Ajax/getGmeServer')}", @@ -291,11 +291,11 @@ success:function(data){ str = ""; for (var i in data){ - str += "" + str += "" } - $("#server_name").empty(); - $("#server_name").append(str); - $("#server_name").select2(); + $("#server_id").empty(); + $("#server_id").append(str); + $("#server_id").select2(); } }) });