|
@@ -14,6 +14,8 @@ import edu.nju.util.AESUtil;
|
|
|
import edu.nju.util.BlockChainAspect;
|
|
|
import org.json.JSONArray;
|
|
|
import org.json.JSONObject;
|
|
|
+import org.slf4j.Logger;
|
|
|
+import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
@@ -34,7 +36,11 @@ public class AnalyzeController {
|
|
|
|
|
|
@Autowired
|
|
|
BlockChainAspect blockChainAspect;
|
|
|
-
|
|
|
+// @Autowired
|
|
|
+// BlockChainAspect blockChainAspect;
|
|
|
+
|
|
|
+ Logger log= LoggerFactory.getLogger(AnalyzeController.class);
|
|
|
+
|
|
|
//根据用例获取所有有效bug
|
|
|
@RequestMapping(value = "/valid")
|
|
|
@ResponseBody
|
|
@@ -529,6 +535,7 @@ public class AnalyzeController {
|
|
|
|
|
|
|
|
|
private String [] url2decode(String str){
|
|
|
+ log.info("#AnalyseController url2decode(): "+str);
|
|
|
String [] res = new String[2];
|
|
|
String [] temp = str.split("&");
|
|
|
if(temp[0].startsWith("taskId=")){
|