|
@@ -34,9 +34,9 @@ public class DataService {
|
|
|
map.put("num", "10");
|
|
|
String content = postWithParameters(GET_EXAM_URL, map);
|
|
|
JSONObject jsonObject = JSON.parseObject(content);
|
|
|
-// if (!jsonObject.getString("msg").equals("success")) {
|
|
|
-// return null;
|
|
|
-// }
|
|
|
+ if (!jsonObject.getString("msg").equals("success")) {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
// JSONArray jsonArray = JSON.parseArray(jsonObject.getString("data"));
|
|
|
return null;
|
|
|
|