From cfabcd8a457bf0dbfd17f4be7c6da6d0691cd1fd Mon Sep 17 00:00:00 2001 From: devil_gong Date: Thu, 10 Jan 2019 11:48:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/api/controller/User.php b/application/api/controller/User.php index 20535b1f8..fab227904 100644 --- a/application/api/controller/User.php +++ b/application/api/controller/User.php @@ -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;