This commit is contained in:
2026-01-29 04:19:53 +08:00
parent d970068ebf
commit 5eac583d61
213 changed files with 68860 additions and 68794 deletions

View File

@@ -1,73 +1,73 @@
spring.application.name=ems-backend
# ===================================================================
# 移除数据库相关配置使用JSON文件存储
# ===================================================================
file.upload-dir=./uploads
# A secure key for signing JWT tokens.
# This should be a long, random, Base64-encoded string.
# For production, this should be stored securely (e.g., as an environment variable).
spring.application.name=ems-backend
# ===================================================================
# 移除数据库相关配置使用JSON文件存储
# ===================================================================
file.upload-dir=./uploads
# A secure key for signing JWT tokens.
# This should be a long, random, Base64-encoded string.
# For production, this should be stored securely (e.g., as an environment variable).
token.signing.key=${TOKEN_SIGNING_KEY:dev-change-me}
# ===================================================================
# c. Volcano Engine AI Service Configuration
# ===================================================================
volcano.api.url=https://ark.cn-beijing.volces.com/api/v3/chat/completions
# ===================================================================
# c. Volcano Engine AI Service Configuration
# ===================================================================
volcano.api.url=https://ark.cn-beijing.volces.com/api/v3/chat/completions
volcano.api.key=${VOLCANO_API_KEY:}
volcano.model.name=deepseek-v3-250324
# ===================================================================
# d. Spring AOP Configuration
# ===================================================================
# Force the use of CGLIB proxies for AOP
spring.aop.proxy-target-class=true
# ===================================================================
# e. Application Base URL
# ===================================================================
# This URL is used to construct absolute URLs for resources like uploaded files.
# It should be the public-facing base URL of the application.
volcano.model.name=deepseek-v3-250324
# ===================================================================
# d. Spring AOP Configuration
# ===================================================================
# Force the use of CGLIB proxies for AOP
spring.aop.proxy-target-class=true
# ===================================================================
# e. Application Base URL
# ===================================================================
# This URL is used to construct absolute URLs for resources like uploaded files.
# It should be the public-facing base URL of the application.
app.base.url=${APP_BASE_URL:http://localhost:5173}
# ===================================================================
# Mail Configuration for 163 SMTP
# ===================================================================
spring.mail.host=smtp.163.com
spring.mail.port=465
# ===================================================================
# Mail Configuration for 163 SMTP
# ===================================================================
spring.mail.host=smtp.163.com
spring.mail.port=465
spring.mail.username=${SPRING_MAIL_USERNAME:}
spring.mail.password=${SPRING_MAIL_PASSWORD:}
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.ssl.enable=true
spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
spring.mail.properties.mail.smtp.socketFactory.fallback=false
spring.mail.properties.mail.smtp.socketFactory.port=465
spring.mail.properties.mail.transport.protocol=smtp
spring.mail.properties.mail.debug=true
# ===================================================================
# Server Configuration
# ===================================================================
server.port=8080
# ===================================================================
# Logging Configuration
# ===================================================================
logging.level.root=INFO
logging.level.com.dne.ems=DEBUG
logging.level.org.springframework.web=INFO
logging.level.org.hibernate=WARN
# ===================================================================
# JWT Configuration
# ===================================================================
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.ssl.enable=true
spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
spring.mail.properties.mail.smtp.socketFactory.fallback=false
spring.mail.properties.mail.smtp.socketFactory.port=465
spring.mail.properties.mail.transport.protocol=smtp
spring.mail.properties.mail.debug=true
# ===================================================================
# Server Configuration
# ===================================================================
server.port=8080
# ===================================================================
# Logging Configuration
# ===================================================================
logging.level.root=INFO
logging.level.com.dne.ems=DEBUG
logging.level.org.springframework.web=INFO
logging.level.org.hibernate=WARN
# ===================================================================
# JWT Configuration
# ===================================================================
jwt.secret=${JWT_SECRET:dev-change-me}
jwt.expiration=86400000
# ===================================================================
# Spring Task Configuration
# ===================================================================
spring.task.execution.pool.core-size=5
spring.task.execution.pool.max-size=10
spring.task.execution.pool.queue-capacity=25
jwt.expiration=86400000
# ===================================================================
# Spring Task Configuration
# ===================================================================
spring.task.execution.pool.core-size=5
spring.task.execution.pool.max-size=10
spring.task.execution.pool.queue-capacity=25
spring.task.execution.thread-name-prefix=ems-async-