Skip to content

Commit

Permalink
fix: xml消息解析
Browse files Browse the repository at this point in the history
  • Loading branch information
Redmomn committed Nov 27, 2024
1 parent 5efb1fb commit 52f6364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ func ParseMessageElements(msg []*message.Elem) []IMessageElement {
if elem.RichMsg.Template1 != nil {
res = append(res, &XMLElement{
ServiceID: 35,
Content: utils.B2S(binary.ZlibUncompress(elem.LightAppElem.Data[1:])),
Content: utils.B2S(binary.ZlibUncompress(elem.RichMsg.Template1[1:])),
})
}
}
Expand Down

0 comments on commit 52f6364

Please sign in to comment.