|
|
@@ -132,7 +132,7 @@ class ChatController extends BaseController
|
|
|
//客户的未读消息总数
|
|
|
public function actionUnReadMsgCount()
|
|
|
{
|
|
|
- $c = ChatService::getUnReadMsgCount(intval($this->userId));
|
|
|
+ $c = ChatService::getUnReadMsgCount(intval($this->userId), 'message');
|
|
|
util::success(['msg_count'=>$c]);
|
|
|
}
|
|
|
}
|