From fe3dc2f378292d273ffda5da781a1ac55251093e Mon Sep 17 00:00:00 2001 From: sunke <18850253506@163.com> Date: Tue, 19 Nov 2019 12:54:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=85=E5=80=BC=E7=8E=A9=E5=AE=B6=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=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/Home/Controller/DownloadController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Home/Controller/DownloadController.class.php b/Application/Home/Controller/DownloadController.class.php index 52a5c56a3..ec28ddc7c 100644 --- a/Application/Home/Controller/DownloadController.class.php +++ b/Application/Home/Controller/DownloadController.class.php @@ -2677,7 +2677,7 @@ class DownloadController extends BaseController { if(!empty($map['promote_id'])) { $spendMap['promote_id'] = $map['promote_id']; } - $map['create_time'] = ['between', [strtotime(date('Y-m-d 00:00:00')) - 31*24*3600, strtotime(date('Y-m-d 23:59:59'))]]; + $map['create_time'] = ['between', [strtotime(date('Y-m-d 00:00:00')) - 6*24*3600, strtotime(date('Y-m-d 23:59:59'))]]; $roles = M('user_play_info','tab_')->where($map)->select(); $roleIds = array_column($roles, 'role_id');