This commit is contained in:
gazebo
2019-12-20 15:09:23 +08:00
parent 5c5b59c7e5
commit c978ca1b44

View File

@@ -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 {