|
@@ -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) {
|