From c978ca1b44c83943cc5b0be170636a7503df44f9 Mon Sep 17 00:00:00 2001 From: gazebo Date: Fri, 20 Dec 2019 15:09:23 +0800 Subject: [PATCH] up --- platformapi/dadaapi/notify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformapi/dadaapi/notify.go b/platformapi/dadaapi/notify.go index 0333b88c..0ec48098 100644 --- a/platformapi/dadaapi/notify.go +++ b/platformapi/dadaapi/notify.go @@ -37,7 +37,7 @@ var ( func (a *API) GetNotifyMsg(data []byte) (msg *NotifyMsg, notifyResponse *NotifyResponse) { err := utils.UnmarshalUseNumber(data, &msg) - if err == nil { + if err == nil && msg.MessageBody != "" { err = utils.UnmarshalUseNumber([]byte(msg.MessageBody), &msg.MessageObj) } if err != nil {