CU SDK 发送位置消息的时候,添加字段- imMsgs.im_Msg[0].szTextMsg = address;
copycode
发送数据
- {"iCount":1,"im_Msg":[{"iMsgID":0,"iSourceIndex":0,"iType":3,"stGPSData":{"bAntennaState":0,"bOrientationState":0,"iAngle":0,"iHeight":0,"iLatitude":312055880,"iLongitude":1214701735,"iSatelliteSignal":0,"iSpeed":0,"iStarCount":0},"szTextMsg":"之俊大厦-2座附近31米"}]}
copycode 另外一段接受
- {"iCount":1,"im_Msg":[{"iMsgID":14050,"iSourceIndex":7342,"iType":3,"stGPSData":{"bAntennaState":0,"bOrientationState":0,"iAngle":0,"iHeight":0,"iLatitude":312055880,"iLongitude":1214701735,"iSatelliteSignal":0,"iSpeed":0,"iStarCount":0,"stTime":{"iDay":0,"iHour":0,"iMinute":0,"iMonth":0,"iSecond":0,"iYear":0}},"stSendTime":{"iDay":10,"iHour":6,"iMinute":43,"iMonth":7,"iSecond":47,"iYear":2019},"szSourceID":"UA_29973668","szTargetID":"CONF_5CECE1A6"}]}
copycode 丢失了 szTextMsg字段 ,请问怎么解决
|