You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
791 B
27 lines
791 B
package com.bfd.crawl;//import com.bfd.crawl.process.ElasticsearchMaoJian;
|
|
|
|
import com.bfd.crawl.process.ipManger;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
/**
|
|
* @author:zhaoying
|
|
* @className:Application
|
|
* @version:1.0
|
|
* @description:主入口
|
|
* @Date:2023-12-15 14:30:41
|
|
*/
|
|
@SpringBootApplication
|
|
@EnableScheduling
|
|
@Slf4j
|
|
public class Application {
|
|
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(com.bfd.crawl.Application.class, args);
|
|
ipManger ipManger = new ipManger();
|
|
Thread ipMangerThread = new Thread(ipManger);
|
|
ipMangerThread.start();
|
|
}
|
|
}
|