Merge branch 'release-1.0.0' of 47.111.118.107:/srv/git/platform into release-1.0.0

master
sunke 5 years ago
commit 2cef293427

@ -586,7 +586,6 @@ function getAllGame()
return $list; return $list;
} }
/** /**
* 中间加密 替换字符串的子串 * 中间加密 替换字符串的子串
*/ */

@ -487,7 +487,6 @@ class MemberController extends ThinkController
if (IS_POST) { if (IS_POST) {
$member = new MemberApi(); $member = new MemberApi();
$data = $_REQUEST; $data = $_REQUEST;
unset($data['']);
if (empty($data['password'])) { if (empty($data['password'])) {
unset($data['password']); unset($data['password']);
} }
@ -813,20 +812,13 @@ class MemberController extends ThinkController
$map['server_name'] = $_REQUEST['server_name']; $map['server_name'] = $_REQUEST['server_name'];
unset($_REQUEST['server_name']); unset($_REQUEST['server_name']);
} }
if (isset($_REQUEST['promote_id'])) {
$map['promote_id'] = $_REQUEST['promote_id'];
unset($_REQUEST['promote_id']);
}
// $map['type'] = 1; // $map['type'] = 1;
// $map['login_time'] = ['exp', 'login_time<>0']; // $map['login_time'] = ['exp', 'login_time<>0'];
$extend = array(); $extend = array();
$extend['map'] = $map; $extend['map'] = $map;
$count = M('UserLoginRecord','tab_')->field('user_id')->where($extend['map'])->group('user_id')->select(false);
$sql = "select count(user_id) as count from ({$count})t";
$count = M('UserLoginRecord','tab_')->query($sql);
$this->m_title = '登录记录'; $this->m_title = '登录记录';
$this->assign('user_count',$count[0]['count']);
$this->assign('commonset', M('Kuaijieicon')->where(['url' => 'Member/login_record', 'status' => 1])->find()); $this->assign('commonset', M('Kuaijieicon')->where(['url' => 'Member/login_record', 'status' => 1])->find());
parent::lists("UserLoginRecord", $p, $extend['map']); parent::lists("UserLoginRecord", $p, $extend['map']);

Loading…
Cancel
Save