This commit is contained in:
xman 2025-04-21 14:41:20 +08:00
parent 340e9fecd7
commit 68f869f0bb

View File

@ -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 [