This commit is contained in:
xman 2025-04-21 14:27:48 +08:00
parent b72181167e
commit 1f4e618561

View File

@ -128,7 +128,7 @@ class Message extends Backend
public function getNoreadCount() public function getNoreadCount()
{ {
$count = 0; $count = 0;
//超管不提醒新消息
if(!$this->auth->isSuperAdmin()){ if(!$this->auth->isSuperAdmin()){
$count = $this->model $count = $this->model
->where('type',1) ->where('type',1)