🚧 定时任务.

This commit is contained in:
lijiahangmax
2024-03-26 23:56:26 +08:00
parent 2ff090a974
commit eb75877ea6
7 changed files with 13 additions and 6 deletions

View File

@@ -22,6 +22,7 @@
<artifactId>orion-ops-framework-common</artifactId>
</dependency>
<!-- web -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>

View File

@@ -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>

View File

@@ -10,8 +10,6 @@ import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
/**
* 调度器配置
* <p>
* TODO 后面业务扩展需要加上quartz的配置
*
* @author Jiahang Li
* @version 1.0.0

View File

@@ -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>

View File

@@ -10,9 +10,7 @@ spring:
redis:
host: 127.0.0.1
port: 6379
database: 0
password: lijiahang
timeout: 3000
mybatis-plus:
configuration:

View File

@@ -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:

View File

@@ -53,6 +53,10 @@ spring:
wall:
config:
multi-statement-allow: true
redis:
database: 0
connect-timeout: 3000
timeout: 3000
cache:
type: REDIS
redis: