这是我的 components configure
'messageManager'=>[
'class'=>'johnnylei\message_system\MessageManager',
// userInformation 是一个用户表的activeRecord,主要作用当你发送消息的时候,将用户表里面的消息总数+1,当你阅读完消息的时候,将用户表里面的消息数-1,
// 通过实现UserInformationInterface,里面的两个方法
'userInformation'=>[
'class'=>'common\models\User',
]
],
是还要在用户表添加消息数的字段么 ?字段名是什么?麻烦帮助一下,谢谢
这是我的 components configure
'messageManager'=>[
'class'=>'johnnylei\message_system\MessageManager',
// userInformation 是一个用户表的activeRecord,主要作用当你发送消息的时候,将用户表里面的消息总数+1,当你阅读完消息的时候,将用户表里面的消息数-1,
// 通过实现UserInformationInterface,里面的两个方法
'userInformation'=>[
'class'=>'common\models\User',
]
],
是还要在用户表添加消息数的字段么 ?字段名是什么?麻烦帮助一下,谢谢