数据优化

feat/task1-c-wallet
devil_gong 2019-01-10 11:48:09 +08:00
parent 5f40abf3af
commit cfabcd8a45
1 changed files with 1 additions and 1 deletions

View File

@ -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;