Commit 1107dc9c by guojx

是否是分页接口判断不了,调整

parent 1ae23861
...@@ -208,7 +208,9 @@ public class DataController { ...@@ -208,7 +208,9 @@ public class DataController {
} }
} }
if (isPageQuery) {
Object dataObj = res.get("data");
if (dataObj instanceof JSONObject) {
JSONObject data = (JSONObject) res.get("data"); JSONObject data = (JSONObject) res.get("data");
List<JSONObject> list = DataApiUtils.getPageList(res); List<JSONObject> list = DataApiUtils.getPageList(res);
if (needTransferField) { if (needTransferField) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment