diff --git a/Application/Home/Controller/DownloadController.class.php b/Application/Home/Controller/DownloadController.class.php index a95daf8ec..ff7ed321b 100644 --- a/Application/Home/Controller/DownloadController.class.php +++ b/Application/Home/Controller/DownloadController.class.php @@ -2061,8 +2061,8 @@ class DownloadController extends BaseController $createTimeBegin = strtotime($createTimeRow[0] . ' 00:00:00'); $createTimeEnd = strtotime($createTimeRow[0] . ' 23:59:59'); } - if (($createTimeEnd - $createTimeBegin) > 7*24*3600) { - $this->error('时间范围不能超过7天'); + if (($createTimeEnd - $createTimeBegin) > 31*24*3600) { + $this->error('时间范围不能超过31天'); } $map['create_time'] = ['between', [$createTimeBegin, $createTimeEnd]]; }