|
@@ -264,6 +264,59 @@ public class ExtraController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
* 47.99.140.117:9001/Bug/api/extra/getExamList
|
|
|
*
|
|
@@ -312,8 +365,11 @@ public class ExtraController {
|
|
|
@RequestMapping(value = "/uploadTestCase", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
public void uploadTestCase(String report_id, String name, String front, String behind,
|
|
|
- String description, HttpServletResponse response) {
|
|
|
+ String description,String if_execute,String if_bug, HttpServletResponse response) {
|
|
|
try {
|
|
|
+
|
|
|
+ System.out.println(if_execute);
|
|
|
+ System.out.println(if_bug);
|
|
|
String id = extraService.saveTestCase(report_id, name, front, behind, description);
|
|
|
PrintWriter out = response.getWriter();
|
|
|
JSONObject result = new JSONObject();
|