JSON如下:
{
"data": {
"totalNum": 0,
"pageSize": 10,
"rows": [{
"objId":"111","name":"李四"},{
"objId":"222","name":"李三"}],
"pageNum": 1
},
"errCode": 0,
"errMsg": "success"
}
获取调用接口数据–get/post请求
//获取调用的接口数据--get/post请求
public Map<String, String> getRequest(String outStr)
{
String[] strArr = outStr.split(",");
String sswsId = strArr[0];
String updatetime = strArr[1];
String pageNum = strArr[2];
String pageSize = strArr[3];
Map<String, String> resp = new HashMap<St