作者 yangfu

消息中心修改

... ... @@ -224,7 +224,6 @@ func CheckUuid(ctx *context.Context) (result bool) {
result = true
defer func() {
if msg.Errno != 0 {
//result = false
ctx.Output.JSON(msg, false, false)
}
}()
... ...
... ... @@ -55,6 +55,9 @@ func MessageCenter(header *protocol.RequestHeader, request *protocol.MessageCent
var tmpTotal int
models.GetBulletinUserMsgTotals(header.UserId, header.CompanyId, request.MsgType, &tmpTotal)
item.MsgTotal = tmpTotal
if tmpTotal == 0 {
continue
}
}
list = append(list, item)
}
... ...