刘韬 5 years ago
parent
commit
a8fb739a29
1 changed files with 2 additions and 2 deletions
  1. 2 2
      DataFusion/src/com/zskk/service/DataService.java

+ 2 - 2
DataFusion/src/com/zskk/service/DataService.java

@@ -33,7 +33,7 @@ public class DataService {
     	map.put("institution_id", "02800001");
     	map.put("institution_id", "02800001");
     	map.put("num", "10");
     	map.put("num", "10");
 		String content = postWithParameters(GET_EXAM_URL, map);
 		String content = postWithParameters(GET_EXAM_URL, map);
-	    JSONObject jsonObject = JSON.parseObject(content);
+//	    JSONObject jsonObject = JSON.parseObject(content);
 //	    if (!jsonObject.getString("msg").equals("success")) {
 //	    if (!jsonObject.getString("msg").equals("success")) {
 //			return null;
 //			return null;
 //		}
 //		}
@@ -74,7 +74,7 @@ public class DataService {
 		    } catch (IOException e) {
 		    } catch (IOException e) {
 				// TODO Auto-generated catch block
 				// TODO Auto-generated catch block
 				e.printStackTrace();
 				e.printStackTrace();
-				return e.toString();
+				return "wrong"+e.toString();
 			}	
 			}	
 	}
 	}