feat: 移除没有使用的参数
This commit is contained in:
@@ -27,7 +27,6 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer
|
||||
|
||||
@ConfigurationProperties(prefix = "messenger.database")
|
||||
data class DatabaseProperties @ConstructorBinding constructor(
|
||||
val h2Path: String,
|
||||
val jsonPath: String,
|
||||
)
|
||||
|
||||
@@ -90,7 +89,6 @@ class Configuration {
|
||||
).also { management ->
|
||||
logger.info("Loaded driver path: {}", driverProperties.driverPath)
|
||||
logger.info("Loaded binary path: {}", driverProperties.binaryPath)
|
||||
logger.info("Loaded database path: {}", databaseProperties.h2Path)
|
||||
logger.info("Loaded database path: {}", databaseProperties.jsonPath)
|
||||
management
|
||||
.fetchConfiguration()
|
||||
|
||||
@@ -42,7 +42,6 @@ messenger:
|
||||
driver-path: /Users/lanyuanxiaoyao/Downloads/chromium/128/macOS-1289987/chromedriver
|
||||
binary-path: /Users/lanyuanxiaoyao/Downloads/chromium/128/macOS-1289987/Chromium.app/Contents/MacOS/Chromium
|
||||
database:
|
||||
h2-path: ./database/database.db
|
||||
json-path: ./database/database.json
|
||||
fenix:
|
||||
print-banner: false
|
||||
|
||||
Reference in New Issue
Block a user