作者 yangfu

上传修改

... ... @@ -56,9 +56,15 @@ func MessageCenter(header *protocol.RequestHeader, request *protocol.MessageCent
models.GetBulletinUserMsgTotals(header.UserId, header.CompanyId, request.MsgType, &tmpTotal)
item.MsgTotal = tmpTotal
}
//TODO:测试注释
if item.MsgTotal > 0 {
item.MsgTotal = 200
}
list = append(list, item)
}
if interactionCount > 0 {
//TODO:测试注释
interactionCount = 200
list = append(list, &protocol.MessageTotal{MsgType: protocol.MsgTypeInteraction, MsgTotal: interactionCount})
}
rsp.Totals = list
... ...