master
chenzhi 3 years ago
parent a05e19ebce
commit 3031417f0b

@ -85,7 +85,7 @@ class ExportController extends Controller
unset($_REQUEST['game_name']);
}
if (isset($_REQUEST['user_account'])) {
$map['user_account'] = array('like','%'.trim($_REQUEST['user_account']).'%');
$map['user_account'] = array('like',trim($_REQUEST['user_account']).'%');
unset($_REQUEST['user_account']);
}
if (isset($_REQUEST['server_name'])) {

@ -778,7 +778,8 @@ class UserController extends AdminController
}
empty(I('user_account')) || $map['user_account'] = ['like', "%" . I('user_account') . "%"];
// empty(I('user_account')) || $map['user_account'] = ['like', "%" . I('user_account') . "%"];
empty(I('user_account')) || $map['user_account'] = ['like', I('user_account') . "%"];
$this->checkListOrCountAuthRestMap($map,["role_id", "role_name", "user_account"]);
$list = $this->lists(M('user_play_info', 'tab_'), $map, 'play_time desc');

Loading…
Cancel
Save