diff --git a/Application/Home/Controller/QueryController.class.php b/Application/Home/Controller/QueryController.class.php index 44c3e67c2..44712687c 100644 --- a/Application/Home/Controller/QueryController.class.php +++ b/Application/Home/Controller/QueryController.class.php @@ -222,6 +222,7 @@ class QueryController extends BaseController } empty(I('account')) || $map['tab_user.account'] = ['like', '%' . I('account') . '%']; + empty(I('id')) || $map['tab_user.id'] = intval(I('id')); $data = M('User', 'tab_') ->field('tab_user.*,tab_promote.real_name as pro_real_name') diff --git a/Application/Home/View/default/Query/recharge.html b/Application/Home/View/default/Query/recharge.html index d9911f061..e1a7d65dc 100644 --- a/Application/Home/View/default/Query/recharge.html +++ b/Application/Home/View/default/Query/recharge.html @@ -143,13 +143,13 @@