|
@@ -62,7 +62,7 @@ public class ViewController extends Controller {
|
|
|
Map <String,String> mapaes = new HashMap<String,String>();
|
|
|
mapaes.put("data",aesEncryptStr);
|
|
|
String content = postWithParameters("http://127.0.0.1:8082/df/view/getExam", mapaes);
|
|
|
-// this.renderText(aesEncryptStr);
|
|
|
+ this.renderText(content);
|
|
|
|
|
|
// JSONObject jsonObject = JSON.parseObject(content);
|
|
|
// if (!jsonObject.getString("msg").equals("success")) {
|
|
@@ -76,9 +76,9 @@ public class ViewController extends Controller {
|
|
|
e.printStackTrace();
|
|
|
// return null;
|
|
|
}
|
|
|
- JSONArray jsonArray = JSON.parseArray(aesDecodeStr);
|
|
|
+// JSONArray jsonArray = JSON.parseArray(aesDecodeStr);
|
|
|
// return jsonArray;
|
|
|
- this.renderJson(jsonArray);
|
|
|
+// this.renderJson(jsonArray);
|
|
|
}
|
|
|
|
|
|
public void testConn() {
|