mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
完善配置
This commit is contained in:
7
pom.xml
7
pom.xml
@@ -123,7 +123,12 @@
|
||||
<dependency>
|
||||
<groupId>org.springdoc</groupId>
|
||||
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
||||
<version>2.1.0</version>
|
||||
<version>2.2.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springdoc</groupId>
|
||||
<artifactId>springdoc-openapi-starter-webmvc-api</artifactId>
|
||||
<version>2.2.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-quartz -->
|
||||
|
||||
@@ -2,13 +2,15 @@ package cn.lihongjie.coal;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cache.annotation.EnableCaching;
|
||||
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableJpaRepositories
|
||||
public class CoalApplication {
|
||||
|
||||
|
||||
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(CoalApplication.class, args);
|
||||
}
|
||||
|
||||
@@ -8,6 +8,10 @@ server:
|
||||
forward-headers-strategy: framework
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
management:
|
||||
|
||||
endpoint:
|
||||
@@ -79,6 +83,9 @@ logging:
|
||||
max-file-size: 100MB
|
||||
clean-history-on-start: true
|
||||
max-history: 7
|
||||
|
||||
|
||||
springdoc:
|
||||
swagger-ui:
|
||||
enabled: false
|
||||
api-docs:
|
||||
enabled: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user