|
@@ -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);
|
|
|
|