|
@@ -37,6 +37,7 @@ class User extends Core
|
|
|
}
|
|
|
$this->data['user']['score'] = $score_num;
|
|
|
|
|
|
+ $this->data['user_msg'] = 0;
|
|
|
# 查看当前用户的消息
|
|
|
if ($this->data['system'] == 1) {
|
|
|
$this->data['user_msg'] = Dever::load('message/lib/data')->num($this->data['uid'], $this->data['system']);
|