diff --git a/xjs-business/pom.xml b/xjs-business/pom.xml
index 33deee50..d7b7395a 100644
--- a/xjs-business/pom.xml
+++ b/xjs-business/pom.xml
@@ -22,6 +22,7 @@
xjs-business-monitor
xjs-business-log
xjs-business-statistics
+ xjs-business-webmagic
@@ -116,17 +117,7 @@
${hutool.version}
-
-
- us.codecraft
- webmagic-core
- 0.7.5
-
-
- us.codecraft
- webmagic-extension
- 0.7.5
-
+
+
+ us.codecraft
+ webmagic-core
+ 0.7.5
+
+
+ us.codecraft
+ webmagic-extension
+ 0.7.5
+
+
+
+
\ No newline at end of file
diff --git a/xjs-business/xjs-business-webmagic/src/main/java/com/xjs/XjsWebmagicApp.java b/xjs-business/xjs-business-webmagic/src/main/java/com/xjs/XjsWebmagicApp.java
new file mode 100644
index 00000000..7c60658a
--- /dev/null
+++ b/xjs-business/xjs-business-webmagic/src/main/java/com/xjs/XjsWebmagicApp.java
@@ -0,0 +1,24 @@
+package com.xjs;
+
+import com.ruoyi.common.security.annotation.EnableCustomConfig;
+import com.ruoyi.common.security.annotation.EnableRyFeignClients;
+import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.scheduling.annotation.EnableScheduling;
+
+/**
+ * 爬虫服务启动器
+ * @author xiejs
+ * @since 2022-01-22
+ */
+@SpringBootApplication
+@EnableCustomConfig
+@EnableCustomSwagger2
+@EnableRyFeignClients
+@EnableScheduling
+public class XjsWebmagicApp {
+ public static void main(String[] args) {
+ SpringApplication.run(XjsWebmagicApp.class, args);
+ }
+}
diff --git a/xjs-business/xjs-business-webmagic/src/main/resources/banner.txt b/xjs-business/xjs-business-webmagic/src/main/resources/banner.txt
new file mode 100644
index 00000000..6f3fceaa
--- /dev/null
+++ b/xjs-business/xjs-business-webmagic/src/main/resources/banner.txt
@@ -0,0 +1,8 @@
+Spring Boot Version: ${spring-boot.version}
+Spring Application Name: ${spring.application.name}
+____ ___ ____. _________ _____.___._____.___.________ _________
+\ \/ / | |/ _____/ \__ | |\__ | |\______ \ / _____/
+ \ / | |\_____ \ ______ / | | / | | | | \ \_____ \
+ / \/\__| |/ \ /_____/ \____ | \____ | | ` \/ \
+/___/\ \________/_______ / / ______| / ______|/_______ /_______ /
+ \_/ \/ \/ \/ \/ \/
diff --git a/xjs-business/xjs-business-webmagic/src/main/resources/bootstrap.yml b/xjs-business/xjs-business-webmagic/src/main/resources/bootstrap.yml
new file mode 100644
index 00000000..14c0be80
--- /dev/null
+++ b/xjs-business/xjs-business-webmagic/src/main/resources/bootstrap.yml
@@ -0,0 +1,29 @@
+# Tomcat
+server:
+ port: 9906
+
+# Spring
+spring:
+ application:
+ # 应用名称
+ name: xjs-webmagic
+ profiles:
+ # 环境配置
+ active: dev
+ cloud:
+ nacos:
+ discovery:
+ # 服务注册地址
+ server-addr: 127.0.0.1:8848
+ config:
+ # 配置中心地址
+ server-addr: 127.0.0.1:8848
+ # 配置文件格式
+ file-extension: yml
+ # 共享配置
+ shared-configs:
+ - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
+ #配置组
+ group: xjs
+ #命名空间
+ namespace: xjs-666
diff --git a/xjs-business/xjs-business-webmagic/src/main/resources/logback.xml b/xjs-business/xjs-business-webmagic/src/main/resources/logback.xml
new file mode 100644
index 00000000..baf9d85f
--- /dev/null
+++ b/xjs-business/xjs-business-webmagic/src/main/resources/logback.xml
@@ -0,0 +1,76 @@
+
+
+
+
+
+
+
+
+
+
+ ${log.pattern}
+
+
+
+
+
+ ${log.path}/info.log
+
+
+
+ ${log.path}/info.%d{yyyy-MM-dd}.log
+
+ 60
+
+
+ ${log.pattern}
+
+
+
+ INFO
+
+ ACCEPT
+
+ DENY
+
+
+
+
+ ${log.path}/error.log
+
+
+
+ ${log.path}/error.%d{yyyy-MM-dd}.log
+
+ 60
+
+
+ ${log.pattern}
+
+
+
+ ERROR
+
+ ACCEPT
+
+ DENY
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/xjs-business/xjs-business-webmagic/src/main/resources/rebel.xml b/xjs-business/xjs-business-webmagic/src/main/resources/rebel.xml
new file mode 100644
index 00000000..ad6c283d
--- /dev/null
+++ b/xjs-business/xjs-business-webmagic/src/main/resources/rebel.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+ xjs-business-webmagic
+
+
+
+
+
+
+