|
@@ -48,7 +48,11 @@ public class KuaishouRealTimeDataServiceImpl implements IKuaishouRealTimeDataSer
|
|
if (!Check.isNull(jsonObject)) {
|
|
if (!Check.isNull(jsonObject)) {
|
|
Integer code = jsonObject.getInteger("code");
|
|
Integer code = jsonObject.getInteger("code");
|
|
if (code == 0) {
|
|
if (code == 0) {
|
|
- return jsonObject.getJSONArray("details");
|
|
|
|
|
|
+ JSONObject data = jsonObject.getJSONObject("data");
|
|
|
|
+ if (!Check.isNull(data)) {
|
|
|
|
+ return data.getJSONArray("details");
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
@@ -91,7 +95,10 @@ public class KuaishouRealTimeDataServiceImpl implements IKuaishouRealTimeDataSer
|
|
if (!Check.isNull(jsonObject)) {
|
|
if (!Check.isNull(jsonObject)) {
|
|
Integer code = jsonObject.getInteger("code");
|
|
Integer code = jsonObject.getInteger("code");
|
|
if (code == 0) {
|
|
if (code == 0) {
|
|
- return jsonObject.getJSONArray("details");
|
|
|
|
|
|
+ JSONObject data = jsonObject.getJSONObject("data");
|
|
|
|
+ if (!Check.isNull(data)) {
|
|
|
|
+ return data.getJSONArray("details");
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|