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 ];