获取targetID错误

用户1183031
2020-07-21 06:39 119 1

List list=JMessageClient.getConversationList();
Gson gson=new Gson();
final String content=gson.toJson(list);
以下是打印的content内容。问题:1.有部分targetId变成了科学计数,2.部分targetId不是我创建的,3.同样的代码,我是连接真机调试的,把app删除,然后再安装,获取的列表第一次为空,以后又是乱码了 4.每次获得的数量都不同

[{"a":"msg1940917752","b":"d8f7815b5759ab9742d1fbfe","e":"online1940917752","f":"","g":0,"extra":"","id":"ff79f846-61f9-4a02-96c3-86b6eaf84525","lastMsgDate":1595282991088,"latestText":"","latestType":"text","targetId":"5.92379e+09","title":"5.92379e+09","type":"single","unReadMsgCnt":0},{"a":"msg539391113","b":"d8f7815b5759ab9742d1fbfe","e":"online539391113","f":"","g":0,"extra":"","id":"b352d686-8820-4a7f-81ec-505efc9b970e","lastMsgDate":1595240306341,"latestText":"","latestType":"text","targetId":"5.91841e+09","title":"5.91841e+09","type":"single","unReadMsgCnt":0},{"a":"msg267435444","b":"d8f7815b5759ab9742d1fbfe","e":"online267435444","f":"","g":0,"extra":"","id":"cf083f3b-a8f1-4c25-a04a-563c0c7c365f","lastMsgDate":1595239719751,"latestText":"","latestType":"text","targetId":"5.91866e+09","title":"5.91866e+09","type":"single","unReadMsgCnt":0}]

补充:同样的代码,我是连接真机调试的,把app删除,然后再安装,获取的列表第一次为空,以后又是乱码了

1个回答

热门排序
  • 集成的SDK版本多少,提供你的测试步骤,在什么手机机型和系统上出现

gptbots-widget