作者 yangfu

消息修改

@@ -56,15 +56,9 @@ func MessageCenter(header *protocol.RequestHeader, request *protocol.MessageCent @@ -56,15 +56,9 @@ func MessageCenter(header *protocol.RequestHeader, request *protocol.MessageCent
56 models.GetBulletinUserMsgTotals(header.UserId, header.CompanyId, request.MsgType, &tmpTotal) 56 models.GetBulletinUserMsgTotals(header.UserId, header.CompanyId, request.MsgType, &tmpTotal)
57 item.MsgTotal = tmpTotal 57 item.MsgTotal = tmpTotal
58 } 58 }
59 - //TODO:测试注释  
60 - if item.MsgTotal > 0 {  
61 - item.MsgTotal = 200  
62 - }  
63 list = append(list, item) 59 list = append(list, item)
64 } 60 }
65 if interactionCount > 0 { 61 if interactionCount > 0 {
66 - //TODO:测试注释  
67 - interactionCount = 200  
68 list = append(list, &protocol.MessageTotal{MsgType: protocol.MsgTypeInteraction, MsgTotal: interactionCount}) 62 list = append(list, &protocol.MessageTotal{MsgType: protocol.MsgTypeInteraction, MsgTotal: interactionCount})
69 } 63 }
70 rsp.Totals = list 64 rsp.Totals = list