|
@@ -2,7 +2,6 @@ package org.jeecg.modules.ctop.controller;
|
|
|
|
|
|
import org.jeecg.modules.ctop.service.ICrawlerService;
|
|
|
import org.jeecg.modules.ctop.vo.KuaishouAppiumJobVO;
|
|
|
-import org.jeecg.modules.fegin.LogService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
@@ -13,16 +12,15 @@ import java.util.Map;
|
|
|
public class CrawlerController {
|
|
|
@Autowired
|
|
|
private ICrawlerService crawlerService;
|
|
|
- @Autowired
|
|
|
- private LogService logService;
|
|
|
|
|
|
@PostMapping("startJob")
|
|
|
public Map<String, Object> runTask(@RequestBody KuaishouAppiumJobVO jobVO) {
|
|
|
return crawlerService.startJob(jobVO);
|
|
|
}
|
|
|
|
|
|
- @GetMapping("log")
|
|
|
- public String home(String name) {
|
|
|
- return logService.home(name);
|
|
|
+ public static void main(String[] args) {
|
|
|
+ int a = 2;
|
|
|
+ int b = 7791;
|
|
|
+ System.out.println(a & b);
|
|
|
}
|
|
|
}
|