|
@@ -103,9 +103,9 @@ public class SubscribeSample{
|
|
|
UnlockingRecord unlockingRecord = new UnlockingRecord();
|
|
UnlockingRecord unlockingRecord = new UnlockingRecord();
|
|
|
unlockingRecord.setType("消息类型");
|
|
unlockingRecord.setType("消息类型");
|
|
|
String data = s.getString("data");
|
|
String data = s.getString("data");
|
|
|
- System.out.println("data = " + data);
|
|
|
|
|
|
|
+// System.out.println("data = " + data);
|
|
|
JSONObject jsonObject = JSONObject.parseObject(data);
|
|
JSONObject jsonObject = JSONObject.parseObject(data);
|
|
|
- System.out.println("jsonObject = " + jsonObject);
|
|
|
|
|
|
|
+// System.out.println("jsonObject = " + jsonObject);
|
|
|
// 结果
|
|
// 结果
|
|
|
String result = jsonObject.getString("result");
|
|
String result = jsonObject.getString("result");
|
|
|
// 时间
|
|
// 时间
|