刘韬 5 năm trước cách đây
mục cha
commit
71778a4403
1 tập tin đã thay đổi với 2 bổ sung4 xóa
  1. 2 4
      DataFusion/src/com/zskk/control/ViewController.java

+ 2 - 4
DataFusion/src/com/zskk/control/ViewController.java

@@ -93,10 +93,10 @@ public class ViewController extends Controller {
 				});	
 	        }
 	        this.renderText("ok");
-		} catch (Exception e) {
+		} catch (NullPointerException e) {
 			// TODO: handle exception
 	        this.renderText(e.toString());
-
+	        
 		}
 		
 	}
@@ -151,8 +151,6 @@ public class ViewController extends Controller {
         Map<String,String> paramsMap=new HashMap<String,String>();
         paramsMap.put("institution_id", PropKit.get("institution_id"));
         paramsMap.put("num", PropKit.get("10"));
-
-
 		String contentString = doPost("https://risserver3.pacsonline.cn/butt/getExam/butt/getExam", paramsMap);
 		System.out.println(contentString);