🚧 定时任务.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
<artifactId>orion-ops-framework-common</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- web -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
|
||||
@@ -26,6 +26,12 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- quartz -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-quartz</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -10,8 +10,6 @@ import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
|
||||
|
||||
/**
|
||||
* 调度器配置
|
||||
* <p>
|
||||
* TODO 后面业务扩展需要加上quartz的配置
|
||||
*
|
||||
* @author Jiahang Li
|
||||
* @version 1.0.0
|
||||
|
||||
@@ -22,11 +22,13 @@
|
||||
<artifactId>orion-ops-framework-common</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- web -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- jdbc -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-jdbc</artifactId>
|
||||
|
||||
@@ -10,9 +10,7 @@ spring:
|
||||
redis:
|
||||
host: 127.0.0.1
|
||||
port: 6379
|
||||
database: 0
|
||||
password: lijiahang
|
||||
timeout: 3000
|
||||
|
||||
mybatis-plus:
|
||||
configuration:
|
||||
|
||||
@@ -20,9 +20,7 @@ spring:
|
||||
redis:
|
||||
host: ${REDIS_HOST:127.0.0.1}
|
||||
port: ${REDIS_PORT:6379}
|
||||
database: 0
|
||||
password: ${REDIS_PASSWORD:Data@123456}
|
||||
timeout: 3000
|
||||
|
||||
springdoc:
|
||||
api-docs:
|
||||
|
||||
@@ -53,6 +53,10 @@ spring:
|
||||
wall:
|
||||
config:
|
||||
multi-statement-allow: true
|
||||
redis:
|
||||
database: 0
|
||||
connect-timeout: 3000
|
||||
timeout: 3000
|
||||
cache:
|
||||
type: REDIS
|
||||
redis:
|
||||
|
||||
Reference in New Issue
Block a user