Ver Fonte

Merge remote-tracking branch 'origin/master'

yumeng há 4 meses atrás
pai
commit
9ec4dee7b1

+ 2 - 9
src/main/java/cn/com/ctop/track/controller/TrackController.java

@@ -1,8 +1,6 @@
 package cn.com.ctop.track.controller;
 
 import cn.com.ctop.track.service.ClickInfoService;
-import cn.com.ctop.track.service.ConvertInfoService;
-import cn.com.ctop.track.service.TaobaoNoticeService;
 import cn.com.ctop.track.utils.Check;
 import cn.com.ctop.track.utils.HttpUtils;
 import com.alibaba.fastjson.JSONObject;
@@ -10,7 +8,6 @@ import com.alibaba.fastjson.JSONObject;
 import org.apache.log4j.Logger;
 import org.springframework.beans.factory.annotation.Autowired;
 
-import org.springframework.data.mongodb.core.MongoTemplate;
 import org.springframework.stereotype.Controller;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.ResponseBody;
@@ -29,17 +26,13 @@ public class TrackController {
     private static Logger logger = Logger.getLogger(TrackController.class);
     @Autowired
     private ClickInfoService clickInfoService;
-    @Autowired
-    private TaobaoNoticeService taobaoNoticeService;
-    @Autowired
-    private ConvertInfoService convertInfoService;
+
     private static String url = "https://ugapi.alipay.com/monitor";
     static ExecutorService click1ExecutorService = Executors.newFixedThreadPool(15);
     static ExecutorService click2ExecutorService = Executors.newFixedThreadPool(15);
     static ExecutorService back1ExecutorService = Executors.newFixedThreadPool(15);
     static ExecutorService back2ExecutorService = Executors.newFixedThreadPool(15);
-    @Autowired
-    private MongoTemplate mongoTemplate;
+
 
     // 老链接 屏蔽5
     @RequestMapping(value = "/click1")