From e17699161a674e9dadb85e8e6950405d34a29e38 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Fri, 28 Dec 2018 11:13:43 +0800 Subject: [PATCH] debug --- application/index/controller/Common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/index/controller/Common.php b/application/index/controller/Common.php index a9e75dde5..e0b36d95d 100755 --- a/application/index/controller/Common.php +++ b/application/index/controller/Common.php @@ -177,7 +177,7 @@ class Common extends Controller $this->assign('common_cart_total', ($common_cart_total > 99) ? '99+' : $common_cart_total); // 未读消息总数 - $params = ['user'=>$this->user, 'is_more'=>1, 'is_read'=>0]; + $params = ['user'=>$this->user, 'is_more'=>1, 'is_read'=>0, 'user_type'=>'user']; $common_message_total = MessageService::UserMessageTotal($params); $this->assign('common_message_total', ($common_message_total > 99) ? '99+' : $common_message_total); -- GitLab