|
|
@@ -1,6 +1,7 @@
|
|
|
package cn.com.ctop.job.kuaishou.controller;
|
|
|
|
|
|
import cn.com.ctop.job.kuaishou.data.entity.MessageModel;
|
|
|
+import cn.com.ctop.job.kuaishou.data.mapper.KuaiShouAdSocialMapper;
|
|
|
import cn.com.ctop.job.kuaishou.data.service.IKuaiShouAdSocialService;
|
|
|
import cn.com.ctop.job.kuaishou.data.utils.Check;
|
|
|
import cn.com.ctop.job.kuaishou.data.utils.DateUtils;
|
|
|
@@ -22,6 +23,9 @@ import java.util.concurrent.Executors;
|
|
|
@Slf4j
|
|
|
public class KuaiShouAdSocialController {
|
|
|
@Autowired
|
|
|
+ private KuaiShouAdSocialMapper kuaiShouAdSocialMapper;
|
|
|
+
|
|
|
+ @Autowired
|
|
|
private IKuaiShouAdSocialService kuaiShouAdSocialService;
|
|
|
|
|
|
private static ExecutorService adSocialExecutorService = Executors.newFixedThreadPool(5);
|
|
|
@@ -195,4 +199,13 @@ public class KuaiShouAdSocialController {
|
|
|
return MessageModel.ok();
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/test")
|
|
|
+ public MessageModel test() {
|
|
|
+ List<JSONObject> jsonObjects = kuaiShouAdSocialMapper.test1();
|
|
|
+ System.out.println(jsonObjects);
|
|
|
+ List<JSONObject> jsonObjects1 = kuaiShouAdSocialMapper.test2();
|
|
|
+ System.out.println(jsonObjects1);
|
|
|
+ return MessageModel.ok();
|
|
|
+ }
|
|
|
+
|
|
|
}
|