From 8e581e07c1ef0df87525a4026e005a5edd6749e0 Mon Sep 17 00:00:00 2001 From: xman <1946321327@qq.com> Date: Thu, 5 Jun 2025 21:35:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controller/Message.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/admin/controller/Message.php b/application/admin/controller/Message.php index 2af1bb2..8ca1403 100644 --- a/application/admin/controller/Message.php +++ b/application/admin/controller/Message.php @@ -130,7 +130,7 @@ class Message extends Backend $count = 0; //超管不提醒新消息 //if(!$this->auth->isSuperAdmin()){ - if(!$this->auth->id != 1){ + // if(!$this->auth->id != 1){ $count = $this->model ->where('type',1) ->where('to_id',$this->auth->id) @@ -139,7 +139,7 @@ class Message extends Backend ->whereRaw("FIND_IN_SET({$this->auth->id}, read_uid) = 0 OR read_uid = '' or read_uid is null") ->whereTime('create_time', '>=', '-3 days') ->count(); - } + // } return [ 'count' => $count ];