|
@@ -29,13 +29,9 @@ func NewUpdateMessageReadLogic(ctx context.Context, svcCtx *svc.ServiceContext)
|
|
|
// 修改用户指定分类下的消息已读未读
|
|
|
func (l *UpdateMessageReadLogic) UpdateMessageRead(in *message.UpdateMessageReadReq) (*message.UpdateMessageReadResp, error) {
|
|
|
// todo: add your logic here and delete this line
|
|
|
-<<<<<<< HEAD
|
|
|
- service := &service.MessageService{}
|
|
|
- status, err := service.UpdateMessageReadStatus(int(in.MsgType), in.ReceiveUserid, in.AppId)
|
|
|
-=======
|
|
|
+
|
|
|
m := service.MessageService{}
|
|
|
status, err := m.UpdateMessageReadStatus(int(in.MsgType), in.ReceiveUserid, in.AppId)
|
|
|
->>>>>>> 6f28afb30f4f6a2d23106a4b3b3ade24e733f2c0
|
|
|
if status == 0 && err != nil {
|
|
|
return &message.UpdateMessageReadResp{
|
|
|
Code: 1,
|