数据优化
parent
5f40abf3af
commit
cfabcd8a45
|
|
@ -191,7 +191,7 @@ class User extends Common
|
|||
$user_goods_browse_count = GoodsService::GoodsBrowseTotal($where);
|
||||
|
||||
// 未读消息总数
|
||||
$params = ['user'=>$this->user, 'is_more'=>1, 'is_read'=>0, 'user_type'=>'user'];
|
||||
$params = ['user'=>$this->user, 'is_more'=>1, 'is_read'=>0];
|
||||
$common_message_total = MessageService::UserMessageTotal($params);
|
||||
$common_message_total = ($common_message_total > 99) ? '99+' : $common_message_total;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue