From 68f869f0bba2217e2f4def77c3d0137a21d8c62c Mon Sep 17 00:00:00 2001 From: xman <1946321327@qq.com> Date: Mon, 21 Apr 2025 14:41:20 +0800 Subject: [PATCH] sth --- application/admin/controller/Message.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/admin/controller/Message.php b/application/admin/controller/Message.php index e905565..868e8f2 100644 --- a/application/admin/controller/Message.php +++ b/application/admin/controller/Message.php @@ -135,6 +135,7 @@ class Message extends Backend ->auth($this->auth) //->whereRaw("FIND_IN_SET(?, read_uid) = 0 OR read_uid IS NULL OR read_uid = ''", [$this->auth->id]) ->whereRaw("FIND_IN_SET({$this->auth->id}, read_uid) = 0 OR read_uid = '' or read_uid is null") + ->whereTime('create_time', '>=', '-30 days') ->count(); } return [