dever 5 年之前
父節點
當前提交
a51e454ab5
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      main/src/User.php

+ 2 - 2
main/src/User.php

@@ -38,7 +38,7 @@ class User extends Core
             $this->data['user']['score'] = $score_num;
 
             # 查看当前用户的消息
-            $this->data['user_msg'] = Dever::load('message/lib/data')->num($this->data['uid']);
+            $this->data['user_msg'] = Dever::load('message/lib/data')->num($this->data['uid'], $this->data['system']);
         }
 
         return $this->data;
@@ -47,7 +47,7 @@ class User extends Core
     # 我的消息页面
     public function my_msg()
     {
-        $this->data['msg'] = Dever::load('message/lib/data')->read($this->data['uid'], false, true, false);
+        $this->data['msg'] = Dever::load('message/lib/data')->read($this->data['uid'], false, true, false, $this->data['system']);
 
         if ($this->data['msg']) {
             foreach ($this->data['msg'] as $k => $v) {