diff --git a/application/admin/controller/Message.php b/application/admin/controller/Message.php index 6728533..f3eb501 100644 --- a/application/admin/controller/Message.php +++ b/application/admin/controller/Message.php @@ -60,7 +60,7 @@ class Message extends Backend } [$where, $sort, $order, $offset, $limit] = $this->buildparams(); $list = $this->model - ->auth($this->auth) + ->where('to_id',$this->auth->id) ->where($where) ->where('type',1) ->order($sort, $order)