diff --git a/Application/Admin/Common/function.php b/Application/Admin/Common/function.php index db2899582..bcb506d46 100644 --- a/Application/Admin/Common/function.php +++ b/Application/Admin/Common/function.php @@ -586,7 +586,6 @@ function getAllGame() return $list; } - /** * 中间加密 替换字符串的子串 */ diff --git a/Application/Admin/Controller/MemberController.class.php b/Application/Admin/Controller/MemberController.class.php index ce6cfdf4a..439c2cc3d 100644 --- a/Application/Admin/Controller/MemberController.class.php +++ b/Application/Admin/Controller/MemberController.class.php @@ -282,7 +282,7 @@ class MemberController extends ThinkController $this->m_title = '玩家列表'; $this->assign('commonset', M('Kuaijieicon')->where(['url' => 'Member/user_info', 'status' => 1])->find()); - + $this->display(); } @@ -487,7 +487,6 @@ class MemberController extends ThinkController if (IS_POST) { $member = new MemberApi(); $data = $_REQUEST; - unset($data['']); if (empty($data['password'])) { unset($data['password']); } @@ -495,7 +494,7 @@ class MemberController extends ThinkController $this->error('请填写正确的名字'); } - /*if (!empty($data['idcard']) && !preg_match('/^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/', $data['idcard'])) { + /* if (!empty($data['idcard']) && !preg_match('/^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/', $data['idcard'])) { $this->error('请输入正确的身份证号码'); }*/