sth
This commit is contained in:
parent
340e9fecd7
commit
68f869f0bb
|
|
@ -135,6 +135,7 @@ class Message extends Backend
|
||||||
->auth($this->auth)
|
->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(?, 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")
|
->whereRaw("FIND_IN_SET({$this->auth->id}, read_uid) = 0 OR read_uid = '' or read_uid is null")
|
||||||
|
->whereTime('create_time', '>=', '-30 days')
|
||||||
->count();
|
->count();
|
||||||
}
|
}
|
||||||
return [
|
return [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user