From 1bf6adb6c795b2f1db6ca150e38a9e28da98fe85 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Wed, 11 Dec 2019 10:29:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=A8=E6=88=B7=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=BB=98=E8=AE=A4=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/MemberController.class.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Application/Admin/Controller/MemberController.class.php b/Application/Admin/Controller/MemberController.class.php index 47f240709..d44b5d2a8 100644 --- a/Application/Admin/Controller/MemberController.class.php +++ b/Application/Admin/Controller/MemberController.class.php @@ -12,7 +12,11 @@ class MemberController extends ThinkController *玩家列表信息 */ public function user_info($p=0){ - //基础信息 + //设定默认时间 + if(!array_key_exists("time_start",$_REQUEST)){ + $this->redirect(ACTION_NAME, array('time_start' => date('Y-m-d',strtotime('-30 day')),"time_end"=>date('Y-m-d'))); + } + //基础信息 $page = intval($p); $page = $page ? $page : 1; //默认显示第一页数据 @@ -21,6 +25,7 @@ class MemberController extends ThinkController } else { $row = 10; } + //累计充值,账户平台币排序 $order = ''; if (I('key') == 1) {