diff --git a/app/common/model/user/Task.php b/app/common/model/user/Task.php index 2acf904fc..2d5b43d29 100644 --- a/app/common/model/user/Task.php +++ b/app/common/model/user/Task.php @@ -102,6 +102,7 @@ class Task extends Model $map3 = []; $map4 = []; } + $param['limit'] = !empty($param['day']) ? 999 : $param['limit']; $query = Db::name('Task')->where(function ($query) use ($map1, $map2, $map3, $map4) { $query->where($map1)->whereor($map2)->whereor($map3);